What information is stored from external Auth providers like Azure AD?
This document (000021084) is provided subject to the disclaimer at the end of this document.
Environment
Rancher v2.x with an external auth provider configured
Situation
When using external auth providers a frequently asked question is what information does rancher import from the auth provider and where does it store it.
Resolution
Rancher imports the UUIDs of users and groups.
A local user is made at first login and mapped to the external UUID.
The Azure AD example here:
Principal Ids:
azuread_user://a913127f-02ec-4820-b5c8-7e240a4e63d0
local://u-qmxsorn2uz
Further that users group membership is mapped in userattributes:
Azuread:
Principalid:
azuread_user://6a5547cc-5e77-4187-8114-420a43fbda8a
.....
Group Principals:
Azuread:
Items:
Display Name: Rancher
Member Of: true
Metadata:
Creation Timestamp: <nil>
Name: azuread_group://ac3dc906-cdf7-4357-997e-931e6b783a1c
Principal Type: group
Provider: azuread
Display Name: TestProject
Member Of: true
Metadata:
Creation Timestamp: <nil>
Name: azuread_group://4c21bffd-c79e-4420-8070-a2609417842f
Principal Type: group
Provider: azuread
Finally the group UUIDs are also used to map to (global)rolebindings:
Group Principal Name: azuread_group://4c21bffd-c79e-4420-8070-a2609417842f
Disclaimer
This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.