Skip to content

Commit eb2a2a6

Browse files
docs: get rid of wrapper; document AWS_SDK_LOAD_CONFIG
1 parent d0e9c15 commit eb2a2a6

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

README.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,7 @@ sso_account_id = 0123456789
2020
sso_role_name = AWSAdministratorAccess
2121
region = us-east-2
2222
output = json
23-
```
24-
25-
And in your `~/.aws/credentials`, you'll need something like this:
26-
```ini
27-
[profile wrap_acme_dev]
2823
credential_process = /Users/alice/bin/aws-sso-fetcher acme_dev
29-
region = us-west-1
30-
output = json
31-
3224
```
3325

3426
Once you get SSO credentials with:
@@ -37,13 +29,21 @@ Once you get SSO credentials with:
3729
aws sso login --profile=acme_dev
3830
```
3931

40-
You can then start using software with the other wrapper profile:
32+
You can then start using all kinds of software with the profile:
4133

4234
```bash
43-
export AWS_PROFILE=wrap_acme_dev
35+
export AWS_PROFILE=acme_dev
4436
aws ec2 describe-vpcs
4537
```
4638

4739
But of course you didn't download this tool to use it with the
4840
AWS CLI, you downloaded it so that you could launch other applications
4941
using `AWS_PROFILE` without wrapper scripts.
42+
43+
It's also been reported that you might need to also set:
44+
45+
```bash
46+
export AWS_SDK_LOAD_CONFIG=1
47+
```
48+
49+
to get Golang applications (i.e. `terraform`) to correctly use the the `config` file.

0 commit comments

Comments
 (0)