Export
Weep can generate a command to export credentials to environment variables in your shell.
Read about AWS configuration settings and precedence for information about precedence of credential sources.
Here's a basic call to print out the credential export command:
weep export test_account_user
To automatically export the credentials, just modify your command to be evaluated by the shell:
eval $(weep export test_account_user)
Then you can verify that the credentials are set in your environment:
env | grep AWS
Last updated
Was this helpful?