Updating a SAML app in Yandex Identity Hub
Note
This feature is at the Preview stage.
SAML apps can be managed by users with the organization-manager.samlApplications.admin role or higher.
Update the app's basic settings
To update the SAML app's basic settings:
-
Log in to Yandex Identity Hub
. -
In the left-hand panel, select
Apps and then, the SAML app. -
On the top right, click
Edit and in the window that opens:-
Change the app's name in the Name field. The name must be unique within the organization and follow the naming requirements:
- It must be from 1 to 63 characters long.
- It may contain lowercase Latin letters, numbers, and hyphens.
- It must start with a letter and cannot end with a hyphen.
-
Change the app's description in the Description field.
-
Add new labels by clicking Add label in the Labels field. Click
to delete an existing label. -
Click Save.
-
Update the service provider configuration
To update the service provider configuration in a SAML app:
- Log in to Yandex Identity Hub
. - In the left-hand panel, select
Apps and then, the SAML app. -
On the top right, click
Edit and in the window that opens:-
In the **SP EntityID ** field, enter the unique service provider ID.
The value must be the same on the service provider's and Identity Hub side.
-
In the ACS URL field, specify the URL Identity Hub will send the SAML response to.
If your service provider uses ACS indexes instead of ACS URLs, in addition to ACS URLs, you can specify the index value you got on the service provider's side.
Optionally, use the Add URL button to specify multiple ACS URLs/indexes.
Note
If you have specified an index for one of the URLs in the ACS URL field settings, you must also specify indexes for all the other URLs.
-
In the Signature mode field, select the SAML response elements that will be digitally signed:
Assertions: Only provided attributes will be signed. This is a default value.Response: The full SAML response will be signed.Assertions and Response: The full SAML response and, separately, the provided attributes will be signed.
Warning
The signing mode configured for the SAML app on the Identity Hub side must be the same as the signing mode on the service provider's side.
-
Click Save.
-
Update a digital signature verification key certificate
The digital signature verification key certificate for the SAML app is automatically issued when the app is created for a five-year validity period.
You can issue any number of new digital signature verification key certificates for the SAML app at any time. To do this:
-
Log in to Yandex Identity Hub
. -
In the left-hand panel, select
Apps and then, the SAML app. -
Under Application certificate, click Certificate management on the Overview tab and in the window that opens:
-
Click Generate new certificate. This will create a new certificate which will appear in the list.
-
To activate the new certificate, enable Active next to it.
Warning
In a SAML app, only one certificate can be active. Activating a new certificate automatically deactivates the current one. After you activate the new certificate, do not forget to upload it to the app's integration settings on the service provider’s side.
-
To download the new certificate, click
next to it and select Download. -
To delete the certificate, click
next to it and select Delete, then confirm the deletion. You can only delete inactive certificates. -
Click Close.
-
Update user and group attributes
To update the attributes Identity Hub will transmit to the service provider:
-
Log in to Yandex Identity Hub
. -
In the left-hand panel, select
Apps and select the required app. -
Navigate to the Attributes tab.
-
To add a user group attribute, in the top-right corner of the page, click
Add group attribute and do the following in the window that opens:-
In the Attribute name field, set a name for the user group attribute. The attribute name must be unique within your application.
-
In the Transmitted groups field, select one of these values:
-
All grous: In a SAML response, this field will include all groups the user belongs to.The maximum number of groups this field can include is 1,000. If the user belongs to more groups, only the first thousand of them will be communicated to the service provider.
-
Assigned groups only: In a SAML response, this field will include only those groups that are explicitly specified on the Users and groups tab of your SAML app.
-
-
Click Add.
-
-
To add more user group attributes, in the top-right corner of the page, click
Add attribute and do the following in the window that opens:-
In the Attribute name field, set an attribute name unique within your app.
-
In the Value field, select one of these values:
SubjectClaims.sub: User ID. The field value is the same as the one displayed in the ID field in the organization's user list in the Cloud Center's Identity Hub interface, e.g.,aje0fapf84ofj57q1r0b.SubjectClaims.preferred_username: Unique login for the user. The field value is the same as the one displayed in the Username field in the organization's user list in the Cloud Center's Identity Hub interface, e.g.,ivanov@example-federation.ru.SubjectClaims.name: User’s full name. The field value is the same as the one displayed in the User field in the organization's user list in the Cloud Center's Identity Hub interface, e.g.,Ivan Ivanov.SubjectClaims.given_name: Name. The field value is the same as the one displayed in the Name field under Personal info on the user info page in the Cloud Center's Identity Hub interface, e.g.,Ivan.SubjectClaims.family_name: Last name. The field value is the same as the one displayed in the Surname field under Personal info on the user info page in the Cloud Center's Identity Hub interface, e.g.,Ivanov.SubjectClaims.email: Email address. The field value is the same as the one displayed in the Email field on the user info page in the Cloud Center's Identity Hub interface, e.g.,ivanov@example-company.ru.SubjectClaims.phone_number: Phone number. The field value is the same as the one displayed in the Phone field under Personal info on the user info page in the Cloud Center's Identity Hub interface, e.g.,+74951234567.
Note
You can add any of these attribute values more than once under different names.
-
Click Add.
-
-
To modify an existing attribute, click its row and do the following in the window that opens:
-
Edit the attribute name and/or value.
You cannot change the name of the
NameIDattribute in which the user ID is provided. You can change the ID format for this attribute, unless the attribute's format is explicitly specified in the service provider's SAML request. When the format changes, the attribute value changes automatically. Possible attribute formats and values:-
urn: oasis: names: tc: SAML: 1.1:nameid-format: emailAddress: User ID is provided in email address format in theSubjectClaims.preferred_usernameattribute. This is the default format.The uniqueness and invariability of the provided ID is not guaranteed: one organization may have two users with the same
preferred_usernameID. For example: a federated and a local user can have the same value for this attribute.If the federated user's
preferred_usernameID is not in email format, the provided ID will be automatically suffixed with@<identity_federation_ID>to bring it to that format. -
urn: oasis: names: tc: SAML: 2.0:nameid-format: persistent: User ID is provided in theSubjectClaims.subattribute in the organization's user ID format. In this case, the provided value is guaranteed to be unique and invariable.
Warning
If the service provider's SAML request explicitly indicates the expected user's
NameIDvalue format, then the SAML response will present the value in the format specified in the SAML request. In this case, the format value specified in the Identity Hub settings will be ignored. -
-
Click Update.
-
-
To delete an existing user or group attribute, click
in its row and select Delete, then confirm the deletion.Note
You can delete any attributes except the required
NameIDattribute.
Make sure the attributes you added are also added to the SAML app's integration settings and can be processed correctly on the service provider's side.
Update the list of app users and groups
Update the list of your organization's users permitted to authenticate in external app with a SAML application:
-
Log in to Yandex Identity Hub
. -
In the left-hand panel, select
Apps and select the required app. -
Navigate to the Users and groups tab.
-
To add a user or user group to a SAML app:
- Click
Add users. - In the window that opens, select the required user or user group.
- Click Add.
- Click
-
To delete a user or user group from a SAML app:
- In the list of users and groups, click
and select Delete next to the user or user group. - Confirm the deletion.
- In the list of users and groups, click