supports map of secrets; errors redact plaintext

Signed-off-by: Richard Jones <richard@dagger.io>
This commit is contained in:
Richard Jones
2022-01-06 13:13:51 -07:00
parent 86ae230261
commit 05820f3a67
5 changed files with 41 additions and 18 deletions

View File

@@ -21,7 +21,7 @@ engine.#Plan & {
input: inputs.secrets.sops.contents
#function: {
input: _
output: yaml.Unmarshal(input).TestPAT
output: yaml.Unmarshal(input)
}
}
@@ -30,7 +30,7 @@ engine.#Plan & {
ref: "main"
auth: {
username: "dagger-test"
password: repoPassword.output
password: repoPassword.output.TestPAT.contents
}
}