Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(okta-passwd-cmd): add auxiliary screenshot for mac os keychain access #395

Merged
merged 1 commit into from
Mar 29, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions docs/OKTA_PASSWORD_CMD.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,15 @@

Please contribute additional examples for your favored platform or password manager.

Notes:
- You need to set `OKTA_BROWSER_AUTH=false` in order for this to work.
- You need version 2.0.4 or greater of the `Okta AWS CLI Assume Role tool`.

## Example: macOS KeyChain

1. Create password entry `security add-generic-password -a $OKTA_USERNAME -s okta-aws-cli -T /usr/bin/security -U`
2. Launch KeyChain Access and search for **okta-aws-cli**
2. Launch `KeyChain Access` and search for **okta-aws-cli**, enter the password and save the changes.
![macos-keychain-access](./images/macos-keychain-access.png)
3. Set OKTA_PASSWORD_CMD to `security find-generic-password -a $OKTA_USERNAME -s okta-aws-cli -w`

## Example: GNU/Linux [GNOME Keyring](https://wiki.gnome.org/Projects/GnomeKeyring)
Expand Down Expand Up @@ -52,4 +57,4 @@ OKTA_PASSWORD_CMD=echo "mypassword"
3. Create an entry in `~/.okta/config`
```bash
OKTA_PASSWORD_CMD=lpass show --password mysite.com
```
```
Binary file added docs/images/macos-keychain-access.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.