Skip to content

Commit f9f0bfb

Browse files
committed
Update vault-oci-os-functions.env
1 parent ed87b87 commit f9f0bfb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

infra/vault/oci-os/vault-oci-os-functions.env

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
function set_secret() {
77
local SECRET_NAME="$1"
88
local SECRET_VALUE="$2"
9-
if ! echo -n "$!" | oci os object put --bucket-name $VAULT_BUCKET --name "$SECRET_NAME" --file - >/dev/null 2>&1; then
9+
if ! echo -n "$SECRET_VALUE" | oci os object put --bucket-name $VAULT_BUCKET --name "$SECRET_NAME" --file - >/dev/null 2>&1; then
1010
return 1
1111
fi
1212
}

0 commit comments

Comments
 (0)