Codebuild project, access secret manager env vars from another account.


How can I access secrets that are on account B. My buildspec on account A looks this way? When running codebuild project I have an error - Secrets Manager can't find the specified secret. Enter image description here

1 Answer
Accepted Answer

Since it's a secret from another AWS account, please specify the ARN of the secret rather than just the name


profile picture
answered 3 months ago
  • Yes, yesterday fixed it by myself by using arn.

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