Skip to content

Commit 7eeef3b

Browse files
author
akocbek
committed
address PR comments
1 parent 64b21b0 commit 7eeef3b

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

solutions/project/DA-inputs.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,10 +118,30 @@ The `secrets` input variable allows you to provide a method to include sensitive
118118
### Example for Secrets
119119

120120
```hcl
121+
# generic secret
121122
{
122123
"your-secret-name" = {
123124
format = "generic"
124125
data = { "key_1" : "value_1", "key_2" : "value_2" }
125126
}
126127
}
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+
}
127147
```

0 commit comments

Comments
 (0)