Export

Weep can generate a command to export credentials to environment variablesarrow-up-right in your shell.

circle-check

Here's a basic call to print out the credential export command:

weep export test_account_user
circle-info

Weep will do its best to detect your shell and generate the correct export command. Bash, Zsh, and Fish are currently supported.

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