Skip to content

Commit

Permalink
chore: update readme for external cred process
Browse files Browse the repository at this point in the history
  • Loading branch information
jhd-lego authored Mar 4, 2024
1 parent 03a7c0c commit f612156
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -110,10 +110,10 @@ then it's used in the assume role step.
## Use as external process in AWS config profiles

Add a profile using the `credential_process` setting and use the options for supplying
account number, role, and region.
account number, role, and region. Assuming `assume-aws-sso-role` is in your `$PATH`, you can use the binary without a path,
otherwise you will need to replace `assume-aws-sso-role` with `/absolute/path/to/assume-aws-sso-role`, so that it knows where to find it.

```ini
[profile example]
# Replace "/path/to" with the absolute path to the script on your disk.
credential_process=/path/to/assume-aws-aws-role -q -a 123456789012 -r SSO-Example -e eu-west-1
credential_process=assume-aws-sso-role -q -a 123456789012 -r SSO-Example -e eu-west-1
```

0 comments on commit f612156

Please sign in to comment.