mirror of
https://git.sr.ht/~magic_rb/dotfiles
synced 2024-11-22 08:04:20 +01:00
Desensitivize pushApproles
provisioner
Signed-off-by: magic_rb <richard@brezak.sk>
This commit is contained in:
parent
df46401662
commit
935575707f
|
@ -90,7 +90,7 @@ in
|
||||||
provisioner = {
|
provisioner = {
|
||||||
"remote-exec" = {
|
"remote-exec" = {
|
||||||
inline = [
|
inline = [
|
||||||
"echo \${vault_approle_auth_backend_role_secret_id.system-${hostname}.secret_id} > /var/secrets/approle.secretid"
|
"echo \${nonsensitive(vault_approle_auth_backend_role_secret_id.system-${hostname}.secret_id)} > /var/secrets/approle.secretid"
|
||||||
"echo \${data.vault_approle_auth_backend_role_id.system-${hostname}.role_id} > /var/secrets/approle.roleid"
|
"echo \${data.vault_approle_auth_backend_role_id.system-${hostname}.role_id} > /var/secrets/approle.roleid"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue