Skip to content

Commit 00620eb

Browse files
committed
Update docs and clarify how to use multiple SSO Instances
- fix package.sh so we can build rpm/deb packages again
1 parent ca36afb commit 00620eb

File tree

3 files changed

+45
-19
lines changed

3 files changed

+45
-19
lines changed

CHANGELOG.md

+5-3
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
## [v1.9.0] - 2022-05-08
66

7-
### New Features
7+
### New Features
88

99
* Support assuming roles bash without forking a shell _and_ with
1010
auto-completion support of AWS Profile names. #357
@@ -23,7 +23,7 @@
2323
### Changes
2424

2525
* Added `Profile` to the list of default fields for the `list` command
26-
* Replaced the command `install-completions` with a more poweful `completions`
26+
* Replaced the command `install-completions` with a more poweful `completions`
2727
* Renamed the `config` command to update `~/.aws/config` to be `config-profiles`
2828
which is hopefully more clear
2929
* `config` command now runs the configuration wizard
@@ -36,6 +36,8 @@
3636
* Fixed setup wizard layout to be less ugly and more consistent.
3737
* `ConsoleDuration` and the `--duration` flag for `aws-sso console` are now
3838
correctly limited to 12hrs/720min #379
39+
* Multiple AWS SSO Instances are now properly supported (only) with
40+
Firefox Containers
3941

4042
## [v1.8.1] - 2022-05-02
4143

@@ -111,7 +113,7 @@
111113

112114
### Changes
113115

114-
* `console -P` is now `console -p` to force prompting
116+
* `console -P` is now `console -p` to force prompting
115117
* Update to AWS Go SDK v2
116118

117119
### New Features

docs/FAQ.md

+40-8
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,39 @@
11
# Frequently Asked Questions
22

3-
* [How do I delete all secrets from the macOS Keychain?](#how-do-i-delete-all-secrets-from-the-macos-keychain)
4-
* [How good is the Windows support?](#how-good-is-the-windows-support)
3+
##### Advanced Features
4+
55
* [Does AWS SSO CLI support Role Chaining?](#does-aws-sso-cli-support-role-chaining)
66
* [How does AWS SSO CLI manage the $AWS\_DEFAULT\_REGION?](#how-does-aws-sso-cli-manage-the-aws_default_region)
7+
* [Example of multiple AWS SSO instances](#example-of-multiple-aws-sso-instances)
8+
* [Using non-default AWS SSO instances with auto-complete](#using-non-default-aws-sso-instances-with-auto-complete)
9+
* [Firefox container color/icon doesn't change](#firefox-container-coloricon-doesnt-change)
10+
* [Multiple AWS SSO Instances](#multiple-aws-sso-instances)
11+
12+
##### Profiles and Tags
13+
14+
* [What are the purpose of the Tags?](#what-are-the-purpose-of-the-tags)
715
* [AccountAlias vs AccountName](#accountalias-vs-accountname)
816
* [Defining $AWS\_PROFILE and $AWS\_SSO\_PROFILE variable names](#defining-aws_profile-and-aws_sso_profile-variable-names)
917
* [How to configure ProfileFormat](#how-to-configure-profileformat)
10-
* [Example of multiple AWS SSO instances](#example-of-multiple-aws-sso-instances)
11-
* [What are the purpose of the Tags?](#what-are-the-purpose-of-the-tags)
18+
19+
##### Security
20+
21+
* [Are macOS Keychain items synced?](#are-macos-keychain-items-synced)
22+
* [How do I delete all secrets from the macOS Keychain?](#how-do-i-delete-all-secrets-from-the-macos-keychain)
1223
* [Which SecureStore should I use?](#which-securestore-should-i-use)
13-
* [Using non-default AWS SSO instances with auto-complete](#using-non-default-aws-sso-instances-with-auto-complete)
14-
* [Error: Invalid grant provided](#error-invalid-grant-provided)
1524
* [Does aws-sso support using AWS FIPS endpoints?](#does-aws-sso-support-using-aws-fips-endpoints)
25+
26+
##### Errors and their meaning
27+
1628
* [Error: Unable to save... org.freedesktop.DBus.Properties](#error-unable-to-save-orgfreedesktopdbusproperties)
17-
* [Are macOS Keychain items synced?](#are-macos-keychain-items-synced)
29+
* [Error: Invalid grant provided](#error-invalid-grant-provided)
30+
31+
##### Misc
32+
33+
* [How good is the Windows support?](#how-good-is-the-windows-support)
1834
* [How can I say thanks?](#how-can-I-say-thanks)
19-
* [Firefox container color/icon doesn't change](#firefox-container-coloricon-doesnt-change)
35+
36+
---
2037

2138
### How do I delete all secrets from the macOS keychain?
2239

@@ -298,3 +315,18 @@ Firefox setings `about:preferences#containers`.
298315

299316
![Firefox Container Settings](
300317
https://user-images.githubusercontent.com/1075352/166166400-beff4928-9831-4270-8133-18727d9ade68.png)
318+
319+
### Multiple AWS SSO Instances
320+
321+
If you are using multiple AWS SSO Instances (multiple [SSOConfig](
322+
config.md#SSOCOnfig) blocks) then a few comments:
323+
324+
1. You _really_ want to use the Firefox Containers plugin described above. You
325+
will have a horrible time without this because you need to have different
326+
browser sessions/cookies for each AWS SSO Instance.
327+
1. Choosing your [DefaultSSO](config.md#DefaultSSO) is important because
328+
auto-complete almost always will pick the DefaultSSO.
329+
1. To override the `DefaultSSO` with auto-complete, you can't use the `-S`
330+
or `--sso` flag because of a [limitation with how shell completion works](
331+
https://github.com/synfinatic/aws-sso-cli/issues/382). Instead you must
332+
first `export AWS_SSO=<name>` and then run the command.

package.sh

-8
Original file line numberDiff line numberDiff line change
@@ -27,14 +27,6 @@ files:
2727
file: /root/dist/aws-sso-${VERSION}-linux-${CPU}
2828
mode: "0755"
2929
user: "root"
30-
"/usr/bin/helper-aws-sso-role":
31-
file: /root/scripts/helper-aws-sso-role
32-
mode: "0755"
33-
user: "root"
34-
"/etc/bash_completion.d/aws-sso-role":
35-
file: /root/scripts/aws-sso-role-completion.bash
36-
mode: "0644"
37-
user: "root"
3830
3931
EOF
4032
pushd /root/dist

0 commit comments

Comments
 (0)