IAM policy: can't specify Secrets Manager secret ARN with "/" in the name

0

I have a secret in Secrets Manager whose ARN includes a slash (e.g. service/postgres). This triggers a validation error in the console when I try to specify the ARN in a policy in IAM (GetSecretValue).

Removing the slash works fine, but the secret name I want to use contains a slash. I have other secrets that I've created previously that have a slash in the secret ARN. I'm pretty sure this is just a simple validation bug, and I wanted to report.

1回答
0

Hi,

Slashes are accepted in ARNs: see https://docs.aws.amazon.com/IAM/latest/UserGuide/reference-arns.html section "Paths in ARN".

So, yes, it's probably a bug that you encounter. But, the place to report it is not re:Post: it is not monitored by AWS service teams for bug reports. You have to open a ticket via the console of your AWS account,

Thanks in advance!

Didier

profile pictureAWS
エキスパート
回答済み 6ヶ月前

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

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

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

関連するコンテンツ