mirror of
https://github.com/argoproj/argo-cd
synced 2026-04-21 17:07:16 +00:00
docs: added identity-center.md doc for AWS SSO (#15689)
* docs: added identity center doc (AWS SSO) Signed-off-by: zeusal <zeusariaslucero@gmail.com> * Apply suggestions from code review Co-authored-by: Carlos Santana <csantana23@gmail.com> Signed-off-by: Zeus Arias Lucero <33123154+zeusal@users.noreply.github.com> * Update identity-center.md Added note for attribute mapping Signed-off-by: Zeus Arias Lucero <33123154+zeusal@users.noreply.github.com> * Update identity-center.md Signed-off-by: Zeus Arias Lucero <33123154+zeusal@users.noreply.github.com> * Update docs/operator-manual/user-management/identity-center.md Co-authored-by: Justin Marquis <76892343+34fathombelow@users.noreply.github.com> Signed-off-by: Zeus Arias Lucero <33123154+zeusal@users.noreply.github.com> * Update identity-center.md Signed-off-by: Zeus Arias Lucero <33123154+zeusal@users.noreply.github.com> Fixed image order and style doc Update identity-center.md Signed-off-by: Zeus Arias Lucero <33123154+zeusal@users.noreply.github.com> Update identity-center.md Signed-off-by: Zeus Arias Lucero <33123154+zeusal@users.noreply.github.com> * Update identity-center.md Signed-off-by: Zeus Arias Lucero <33123154+zeusal@users.noreply.github.com> --------- Signed-off-by: zeusal <zeusariaslucero@gmail.com> Signed-off-by: Zeus Arias Lucero <33123154+zeusal@users.noreply.github.com> Co-authored-by: Zeus Arias <zeus.ariaslucero@ust.com> Co-authored-by: Carlos Santana <csantana23@gmail.com> Co-authored-by: Justin Marquis <76892343+34fathombelow@users.noreply.github.com>
This commit is contained in:
parent
6e2f2c9d1e
commit
b71277c6be
8 changed files with 80 additions and 0 deletions
BIN
docs/assets/identity-center-1.png
Normal file
BIN
docs/assets/identity-center-1.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 106 KiB |
BIN
docs/assets/identity-center-2.png
Normal file
BIN
docs/assets/identity-center-2.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 175 KiB |
BIN
docs/assets/identity-center-3.png
Normal file
BIN
docs/assets/identity-center-3.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 69 KiB |
BIN
docs/assets/identity-center-4.png
Normal file
BIN
docs/assets/identity-center-4.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 20 KiB |
BIN
docs/assets/identity-center-5.png
Normal file
BIN
docs/assets/identity-center-5.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 52 KiB |
BIN
docs/assets/identity-center-6.png
Normal file
BIN
docs/assets/identity-center-6.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 55 KiB |
79
docs/operator-manual/user-management/identity-center.md
Normal file
79
docs/operator-manual/user-management/identity-center.md
Normal file
|
|
@ -0,0 +1,79 @@
|
|||
# Identity Center (AWS SSO)
|
||||
|
||||
!!! note "Are you using this? Please contribute!"
|
||||
If you're using this IdP please consider [contributing](../../developer-guide/site.md) to this document.
|
||||
|
||||
A working Single Sign-On configuration using Identity Center (AWS SSO) has been achieved using the following method:
|
||||
|
||||
* [SAML (with Dex)](#saml-with-dex)
|
||||
|
||||
## SAML (with Dex)
|
||||
|
||||
1. Create a new SAML application in Identity Center and download the certificate.
|
||||
* 
|
||||
* 
|
||||
2. Click `Assign Users` after creating the application in Identity Center, and select the users or user groups you wish to grant access to this application.
|
||||
* 
|
||||
3. Copy the Argo CD URL into the `data.url` field in the `argocd-cm` ConfigMap.
|
||||
|
||||
data:
|
||||
url: https://argocd.example.com
|
||||
|
||||
4. Configure Attribute mappings.
|
||||
|
||||
!!! note "Group attribute mapping is not officially!"
|
||||
Group attribute mapping is not officially supported in the AWS docs, however the workaround is currently working.
|
||||
|
||||
* 
|
||||
* 
|
||||
|
||||
<!-- markdownlint-enable MD046 -->
|
||||
|
||||
5. Download the CA certificate to use in the `argocd-cm` configuration.
|
||||
* If using the `caData` field, you'll need to base64-encode the entire certificate, including the `-----BEGIN CERTIFICATE-----` and `-----END CERTIFICATE-----` stanzas (e.g., `base64 my_cert.pem`).
|
||||
* If using the `ca` field and storing the CA certificate separately as a secret, you will need to mount the secret onto the `dex` container in the `argocd-dex-server` Deployment.
|
||||
* 
|
||||
6. Edit the `argocd-cm` and configure the `data.dex.config` section:
|
||||
|
||||
<!-- markdownlint-disable MD046 -->
|
||||
```yaml
|
||||
dex.config: |
|
||||
logger:
|
||||
level: debug
|
||||
format: json
|
||||
connectors:
|
||||
- type: saml
|
||||
id: aws
|
||||
name: "AWS IAM Identity Center"
|
||||
config:
|
||||
# You need value of Identity Center APP SAML (IAM Identity Center sign-in URL)
|
||||
ssoURL: https://portal.sso.yourregion.amazonaws.com/saml/assertion/id
|
||||
# You need `caData` _OR_ `ca`, but not both.
|
||||
caData: <CA cert (IAM Identity Center Certificate of Identity Center APP SAML) passed through base64 encoding>
|
||||
# Path to mount the secret to the dex container
|
||||
entityIssuer: https://external.path.to.argocd.io/api/dex/callback
|
||||
redirectURI: https://external.path.to.argocd.io/api/dex/callback
|
||||
usernameAttr: email
|
||||
emailAttr: email
|
||||
groupsAttr: groups
|
||||
```
|
||||
<!-- markdownlint-enable MD046 -->
|
||||
|
||||
### Connect Identity Center Groups to Argo CD Roles
|
||||
Argo CD recognizes user memberships in Identity Center groups that match the **Group Attribute Statements** regex.
|
||||
|
||||
In the example above, the regex `argocd-*` is used, making Argo CD aware of a group named `argocd-admins`.
|
||||
|
||||
Modify the `argocd-rbac-cm` ConfigMap to connect the `ArgoCD-administrators` Identity Center group to the builtin Argo CD `admin` role.
|
||||
<!-- markdownlint-disable MD046 -->
|
||||
```yaml
|
||||
apiVersion: v1
|
||||
kind: ConfigMap
|
||||
metadata:
|
||||
name: argocd-rbac-cm
|
||||
data:
|
||||
policy.csv: |
|
||||
g, <Identity Center Group ID>, role:admin
|
||||
scopes: '[groups, email]'
|
||||
```
|
||||
<!-- markdownlint-enable MD046 -->
|
||||
|
|
@ -40,6 +40,7 @@ nav:
|
|||
- operator-manual/user-management/openunison.md
|
||||
- operator-manual/user-management/google.md
|
||||
- operator-manual/user-management/zitadel.md
|
||||
- operator-manual/user-management/identity-center.md
|
||||
- operator-manual/rbac.md
|
||||
- Security:
|
||||
- Overview: operator-manual/security.md
|
||||
|
|
|
|||
Loading…
Reference in a new issue