Skip to content

Commit

Permalink
Added documentation of credential-process with prompt
Browse files Browse the repository at this point in the history
  • Loading branch information
jychen7 committed Aug 17, 2019
1 parent cb88446 commit 5485669
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions USAGE.md
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,19 @@ $ aws-vault login work
Ref: https://docs.aws.amazon.com/cli/latest/topic/config-vars.html#sourcing-credentials-from-external-processes
This allows you to use credentials of multiple profiles at the same time.

```ini
[profile home]
credential_process = aws-vault exec home --json
```

if `mfa_serial` is set, please define the prompt driver (for example `osascript` for macOS), else the prompt will not show up.

```ini
[profile work]
mfa_serial = arn:aws:iam::123456789012:mfa/jonsmith
credential_process = aws-vault exec work --json --prompt=osascript
```

## Not using session credentials

The way `aws-vault` works, whichever profile you use, it starts by opening a session with AWS. This
Expand Down

0 comments on commit 5485669

Please sign in to comment.