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回答
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
エキスパート
回答済み 1ヶ月前
profile pictureAWS
エキスパート
レビュー済み 1ヶ月前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ