Jul 9, 2018

Using AWS temporary credentials with environment variables

You can use temporary credentials by exporting their values to environment variables using these commands.
$ export AWS_ACCESS_KEY_ID=<Access-Key-as-in-Previous-Output>
$ export AWS_SECRET_ACCESS_KEY=<Secret-Access-Key-as-in-Previous-Output>
$ export AWS_SESSION_TOKEN=<Session-Token-as-in-Previous-Output>