secret exec

Signed-off-by: Richard Jones <richard@dagger.io>
This commit is contained in:
Richard Jones
2021-12-17 14:41:09 -07:00
parent 7b7ee5455f
commit 5ef138fe84
5 changed files with 132 additions and 1 deletions

View File

@@ -78,6 +78,13 @@ _#inputSecret: {
// Read secret from an environment variable ON THE CLIENT MACHINE
_type: "SecretEnv"
envvar: string
} | {
// Get secret by executing a command ON THE CLIENT MACHINE
_type: "SecretExec"
command: {
name: string
args: [...string]
}
}
}