-
-
Notifications
You must be signed in to change notification settings - Fork 54
Description
How can use AWS secret when I deploy into production. I'm using .net6 and used docker to deploy into azure but in production, I got the error "Unable to get IAM security credentials from EC2 Instance Metadata Service"
I'm adding credentials for AWS secret manager. It works when I change the environment variable to production but does not work when I deployed
I have tried 6 samples but nothing works for me
When I use Basic credentials I got
Amazon.Runtime.AmazonServiceException: Unable to get IAM security credentials from EC2 Instance Metadata Service.
I also add IAM full access to that user role
When I use StoredProfileAWSCredentials I got
App.config does not contain credentials information. Either add the AWSAccessKey and AWSSecretKey properties or the AWSProfileName property.