Does the AWS Secrets Manager console support hiding secret values when accessed by administrators or users with appropriate permissions?

0

I have created a Secret in AWS Secrets Manager and added multiple Secrets.

In the console when I click on Retrieve and view the secret value in AWS Secrets Manager. It opens as plain text.

I need to mask that with value (e.g., ***********) in the console, even for users with the necessary permissions to view the secret.

If it is possible kindly help me with this.

1 Answer
0

There are several ways you could achieve this.

You could use a customer managed KMS Key and only allow decrypt for the roles/users that require the secrect. EG, if you have a lambda function, allow that execution role decrypt on the KMS Key thats used to encrypt the secret but you could allow encrypt for administrators. To do this you would also have to restrict ROOT also on the KMS key with removing decrypt also. If not, IAM Administrators will still have decrypt.

You could place a IAM Policy on the adminsitrator group with a DENY for GetSecretValue on particular resources.

You could have an SCP in place on the Account/OU If in an org to prevent decrypt or get secret value on the Secrets in question

profile picture
EXPERT
answered 17 days ago
profile pictureAWS
EXPERT
reviewed 17 days ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions