1 Answer
- Newest
- Most votes
- Most comments
1
Hello,
To access AWS Secrets Manager from outside the AWS, such as from a local machine, you need to ensure proper AWS credentials are configured.
- Create AWS IAM user with the necessary permissions to access Secrets Manager.
- Configure credentials on your local machine using aws cli.
- Update .NET Code to Use Local AWS Credentials.
AWS policy that grants permission to access secrets to an IAM user
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": [
"secretsmanager:GetSecretValue"
],
"Resource": "arn:aws:secretsmanager:region:account-id:secret:secret-id"
}
]
}
Relevant content
- asked 2 years ago
- Accepted Answerasked a year ago
- asked 5 years ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 9 months ago
For larger scale access outside of AWS to AWS services, consider IAM Roles Anywhere.