mirror of
https://github.com/rancher/rancher-docs.git
synced 2026-09-25 04:28:15 +00:00
Update okta
This commit is contained in:
@@ -1,47 +1,45 @@
|
||||
---
|
||||
title: Configuring OKTA (SAML)
|
||||
title: Configuring Okta (SAML)
|
||||
weight: 1200
|
||||
---
|
||||
_Available as of v2.2.0_
|
||||
|
||||
If your organization uses OKTA Identity Provider (IdP) for user authentication, you can configure Rancher to allow your users to log in using their IdP credentials.
|
||||
If your organization uses Okta Identity Provider (IdP) for user authentication, you can configure Rancher to allow your users to log in using their IdP credentials.
|
||||
|
||||
## Prerequisites
|
||||
|
||||
|
||||
In Okta, create a SAML Application with the settings below. See the [Okta documentation](https://developer.okta.com/standards/SAML/setting_up_a_saml_application_in_okta) for help.
|
||||
|
||||
>**Note:** You should set `Single Sign on URL` and `Audience URI (SP Entity ID)` as the following description.
|
||||
|
||||
Setting | Value
|
||||
------------|------------
|
||||
`Single Sign on URL` | `https://[rancher server address]/v1-saml/okta/saml/acs`
|
||||
`Audience URI (SP Entity ID)` | `https://[rancher server address]/v1-saml/okta/saml/metadata`
|
||||
`Single Sign on URL` | `https://yourRancherHostURL/v1-saml/okta/saml/acs`
|
||||
`Audience URI (SP Entity ID)` | `https://yourRancherHostURL/v1-saml/okta/saml/metadata`
|
||||
|
||||
|
||||
## Configuring OKTA in Rancher
|
||||
## Configuring Okta in Rancher
|
||||
|
||||
|
||||
1. From the **Global** view, select **Security > Authentication** from the main menu.
|
||||
|
||||
1. Select **OKTA**.
|
||||
1. Select **Okta**.
|
||||
|
||||
1. Complete the **Configure Okta Account** form. The examples below describe how you can map OKTA attributes to fields within Rancher.
|
||||
1. Complete the **Configure Okta Account** form. The examples below describe how you can map Okta attributes to fields within Rancher.
|
||||
|
||||
|
||||
| Field | Description |
|
||||
| ------------------------- | ----------------------------------------------------------------------------- |
|
||||
| Display Name Field | The attribute that contains the display name of users. |
|
||||
| User Name Field | The attribute that contains the user name/given name. |
|
||||
| UID Field | An attribute that is unique to every user. Either it can be the same as `User Name Field` or you can define a different one according to your own request. |
|
||||
| UID Field | An attribute that is unique to every user. |
|
||||
| Groups Field | Make entries for managing group memberships. |
|
||||
| Rancher API Host | The URL for your Rancher Server. |
|
||||
| Private Key / Certificate | A key/certificate pair to create a secure shell between Rancher and your IdP. |
|
||||
| Metadata XML | The `metadata.xml` file that you restored from your IdP server. |
|
||||
| Metadata XML | The `Identity Provider metadata` file that you find in the application `Sign On` section. |
|
||||
|
||||
>**Tip:** You can generate a key/certificate pair using an openssl command. For example:
|
||||
>
|
||||
> openssl req -x509 -sha256 -nodes -days 365 -newkey rsa:2048 -keyout myservice.key -out myservice.cert
|
||||
> openssl req -x509 -sha256 -nodes -days 365 -newkey rsa:2048 -keyout myservice.key -out myservice.crt
|
||||
|
||||
|
||||
1. After you complete the **Configure Okta Account** form, click **Authenticate with Okta**, which is at the bottom of the page.
|
||||
|
||||
Reference in New Issue
Block a user