File tree Expand file tree Collapse file tree 1 file changed +10
-10
lines changed
Expand file tree Collapse file tree 1 file changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -20,15 +20,7 @@ sso_account_id = 0123456789
2020sso_role_name = AWSAdministratorAccess
2121region = us-east-2
2222output = json
23- ```
24-
25- And in your ` ~/.aws/credentials ` , you'll need something like this:
26- ``` ini
27- [profile wrap_acme_dev]
2823credential_process = /Users/alice/bin/aws-sso-fetcher acme_dev
29- region = us-west-1
30- output = json
31-
3224```
3325
3426Once you get SSO credentials with:
@@ -37,13 +29,21 @@ Once you get SSO credentials with:
3729aws 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
4436aws ec2 describe-vpcs
4537```
4638
4739But of course you didn't download this tool to use it with the
4840AWS CLI, you downloaded it so that you could launch other applications
4941using ` 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.
You can’t perform that action at this time.
0 commit comments