engine.#LoadSecret support
Fixes #1305 Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
This commit is contained in:
15
stdlib/europa/dagger/engine/secret.cue
Normal file
15
stdlib/europa/dagger/engine/secret.cue
Normal file
@@ -0,0 +1,15 @@
|
||||
package engine
|
||||
|
||||
// Load a secret from a filesystem tree
|
||||
#LoadSecret: {
|
||||
$dagger: task: _name: "LoadSecret"
|
||||
|
||||
// Filesystem tree holding the secret
|
||||
input: #FS
|
||||
// Path of the secret to read
|
||||
path: string
|
||||
// Whether to trim leading and trailing space characters from secret value
|
||||
trimSpace: *true | false
|
||||
// Contents of the secret
|
||||
contents: #Secret
|
||||
}
|
Reference in New Issue
Block a user