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

chore: update brew install steps #17

Merged
merged 3 commits into from
May 13, 2024
Merged
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: 6 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ Copy the script to a directory that is in your `$PATH`.
Perform the following steps:

```bash
brew tap LEGO/assume-aws-sso-role https://github.com/LEGO/assume-aws-sso-role
brew install LEGO/assume-aws-sso-role/assume-aws-sso-role
```

Expand Down Expand Up @@ -109,10 +110,12 @@ 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.
Homebrew automatically installs the binary into your `$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
```
Loading