feat: update tooling
This commit is contained in:
1 parent
7b4717a308
commit
939ec4fdf6
9 files changed
+129
-13
No files matched your search
@@ -0,0 +1,9 @@
|
||||
# Pattern for on-demand secrets
|
||||
def with-secret [secret_name: string, block: closure] {
|
||||
# Example: let val = (sops -d $"~/.secrets/($secret_name)")
|
||||
# For now, placeholder:
|
||||
let val = "REDACTED"
|
||||
with-env { SECRET_VAL: $val } {
|
||||
do $block
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user