https://metaplay.io logo
Accessing secrets manager on a local instance
# questions-and-feedback
d
Hi, I have stored my google credentials json in a secrets manager key. When I run the server locally it says: Unable to get IAM security credentials from EC2 Instance Metadata Service. Makes sense as my machine is not in ec2 and doesn't have any permissions. Is there any way for me to pass some aws credentials to the server i start locally? I have created a aws profile in .aws/config which works on cli. Thanks Andre
j
Heya, My first guess is that the server is not inheriting the
AWS_PROFILE
env variable, try pointing that to your profile.