Home > Software design >  How to Automate/Get AWS environment variables value thru API
How to Automate/Get AWS environment variables value thru API

Time:09-27

Hello is there's a way to automate/get this value from AWS? Currently I'm doing this manually but I'm planning to automate this. Your response is highly appreciated. Thank you so much in advance.

These are the values I'll like to get the values

AWS_ACCESS_KEY_ID

AWS_SECRET_ACCESS_KEY

AWS_SESSION_TOKEN

FYI: By clicking Command line or programmatic it will prompt this interface.

enter image description here

enter image description here

CodePudding user response:

These values are provided to you once when you create the user. You are asked to store these carefully. They are not available programmatically as that would not be secure.

From an application perspective, you can store your IAM credentials in AWS Secrets Manager which will allow you to obtain them programmatically for your application.

Please read this page carefully: https://docs.aws.amazon.com/general/latest/gr/aws-sec-cred-types.html

  • Related