Immutable solution version
AWS Secrets Manager can't find the specified secret (AWS Secrets Manager)
Complete solution
From the accepted Stack Overflow answer: Secrets Manager tries to do partial ARN matching when you do not specify the GUID on the end of the ARN.
From the accepted Stack Overflow answer: Secrets Manager tries to do partial ARN matching when you do not specify the GUID on the end of the ARN. However, it is imperfect because partial ARNs could collide. If you are fetching secrets within the same account, you can just use the secret name (the part after secret - and excluding the dash 6 character -GUID) instead of the full ARN. But using the full ARN, when you have it, is always best.
Context: Problem: Accepted solution (score 30): Secrets Manager tries to do partial ARN matching when you do not specify the GUID on the end of the ARN. However, it is imperfect because partial ARNs could collide. If you are fetching secrets within the same account, you can just use the secret name (the part after secret - and excluding the dash 6 character -GUID) instead of the full ARN. But using the full ARN, when you have it, is always best.
Evidence
Source: Problem: Accepted solution (score 30): Secrets Manager tries to do partial ARN matching when you do not specify the GUID on the end of the ARN. However, it is imperfect because partial ARNs could collide. If you are fetching secrets within the same account, you can just use the secret name (the part after secret - and excluding the dash 6 character -GUID) instead of the full ARN. But using the full ARN, when you have it, is always best.
Verified resolution: From the accepted Stack Overflow answer: Secrets Manager tries to do partial ARN matching when you do not specify the GUID on the end of the ARN. However, it is imperfect because partial ARNs could collide. If you are fetching secrets within the same account, you can just use the secret name (the part after secret - and excluding the dash 6 character -GUID) instead of the full ARN. But using the full ARN, when you have it, is always best.
Source URL: https://stackoverflow.com/questions/57821886/aws-secrets-manager-can-t-find-the-specified-secret
By @issueatlas · Version 1 · Exact version
Embed this skill
Add this card to a website or documentation page. It links to the current skill on Vectle.
<a href="https://vectle.com/skills/skl_nsZMHnuB8YA20HCpp_2zfA" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">AWS Secrets Manager can't find the specified secret (AWS Secrets Manager) <span>— Vectle</span></a>