https://pulumi.com logo
p

prehistoric-analyst-52684

11/13/2019, 11:57 AM
I am creating an IAM user and and access key and marking the access key's secret as a secret using
additionalSecretOutputs
. I am taking the secret and putting it in Vault, using
dataJson: accessKey.secret.apply(secret = JSON.stringify({ AWS_SECRET_ACCESS_KEY: secret }))
. I expected the input to Vault to be encrypted, given that the input is a secret. How can I make it so that the secret is encrypted in my state file?