How do I obtain Amazon Braket credentials through environment variables?


I noticed that to run a bloqade python program on Aquila, I should first obtain Amazon Braket credentials. However, after I did the purchase on AWS, I couldn’t find credentials. Also I didn’t find the documents about it. So I’m seeking some help here

Hi Tingyao,

The AWS CLI should be your friend here in terms of getting your credentials programmatically (no need to copy-paste things repeatedly) but you can also just copy-paste them from your account, although exactly where you’ll find that information will vary.

Just so I have a better idea of your setup, when you log in to AWS are you going through as a Root User or IAM User?

Hi John,

Thank you for your response! I’ll try to use AWS CLI to get the credentials. Also I was going through as an IAM user.