File tree Expand file tree Collapse file tree 1 file changed +20
-0
lines changed Expand file tree Collapse file tree 1 file changed +20
-0
lines changed Original file line number Diff line number Diff line change @@ -118,10 +118,30 @@ The `secrets` input variable allows you to provide a method to include sensitive
118
118
### Example for Secrets
119
119
120
120
``` hcl
121
+ # generic secret
121
122
{
122
123
"your-secret-name" = {
123
124
format = "generic"
124
125
data = { "key_1" : "value_1", "key_2" : "value_2" }
125
126
}
126
127
}
128
+
129
+ # registry secret
130
+ "registry_secret_name" = {
131
+ format = "registry"
132
+ optional("data") = {
133
+ "server" = "private.us.icr.io",
134
+ "username" = "iamapikey",
135
+ "password" = iam_api_key, # pragma: allowlist secret
136
+ }
137
+ }
138
+
139
+ # private repository
140
+ "private_repo" = {
141
+ format = "generic"
142
+ "data" = {
143
+ "password" = github_token, # pragma: allowlist secret
144
+ "username" = github_user
145
+ }
146
+ }
127
147
```
You can’t perform that action at this time.
0 commit comments