Having ResourceNotFoundException when using secrets ARN
Tried getting secret only using secret name - doesn't work. Tried getting secret using ARN - doesn't work. I've checked my assumed role's policy and SM is set as far as I understand like this in the JSON format "secretsmanager:*"
The command I'm using in a CloudBees job is this:
aws secretsmanager get-secret-value --secret-id <ARN>
Not sure what is the issue at the moment. All help appreciated!
Dave