Created
April 21, 2021 18:55
-
-
Save thierryturpin/1dc61eb4bbbc61eb62511693d9c44219 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
❯ bw unlock | |
? Master password: [hidden] | |
Your vault is now unlocked! | |
To unlock your vault, set your session key to the `BW_SESSION` environment variable. ex: | |
$ export BW_SESSION="____#bitwarden_generated_session_key#____" | |
> $env:BW_SESSION="____#bitwarden_generated_session_key#____" | |
You can also pass the session key to any command with the `--session` option. ex: | |
$ bw list items --session ____#bitwarden_generated_session_key#____ | |
# Bitwarden is now unlocked, just export your BW_SESSION | |
❯ export BW_SESSION="____#bitwarden_generated_session_key#____" | |
# Now I can run all cli commands or code using sdks | |
❯ aws s3 ls --profile=turpin | |
2017-04-04 19:58:13 turpin.be | |
2017-04-04 19:58:34 www.turpin.be |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment