This repository has been archived on 2024-04-08. You can view files and clone it, but cannot push or open issues or pull requests.
Andrea Luzzardi 6a70271ff2 engine.#LoadSecret support
Fixes #1305

Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2022-01-07 12:08:37 -08:00

16 lines
354 B
CUE

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
}