Azure Containers built-in role

Azure Red Hat OpenShift Federated Credential

Allows the ARO cluster identity to create, read, update, and delete federated identity credentials on the eight dedicated core-operator managed identities. These Azure control-plane Actions establish trust between each managed identity, the cluster OIDC issuer, and its Kubernetes service account; the role has no DataActions.

Role-definition permissions are imported from Microsoft Learn. Practical scope, use cases, prerequisites, best practices, security considerations, assignment guidance, and relationships have been reviewed against the official sources below.

Role definition ID: ef318e2a-8334-4a05-9e4a-295a196c6a6e

Control-plane actions (4)

Data-plane actions (0)

None — this role grants no data-plane (data access) actions.

Excluded actions (0)

None

Assignable scopes (1)

Practical scope

Microsoft documents assigning this role to the ARO cluster identity on each of the other operator user-assigned managed identities. A resource-group or subscription assignment would allow federated credential changes on unrelated identities and is outside the documented architecture.

Common use cases (1)

Prerequisites (1)

Best practices (2)

Security considerations (2)

Assignment guidance

Assign Azure Red Hat OpenShift Federated Credential only to the ARO cluster identity, separately on each of the eight operator managed identities documented for the cluster. Do not assign at resource-group or subscription scope and do not use it for application workload federation.

Related roles (2)

Common questions

When should I assign the Azure Red Hat OpenShift Federated Credential Azure role?

Assign Azure Red Hat OpenShift Federated Credential when you need to: Allow the ARO cluster identity to create the workload-identity federation bindings required by the eight core operator identities.. Practical scope: Microsoft documents assigning this role to the ARO cluster identity on each of the other operator user-assigned managed identities. A resource-group or subscription assignment would allow federated credential changes on unrelated identities and is outside the documented architecture.

What permissions does the Azure Red Hat OpenShift Federated Credential Azure role grant?

The role definition grants 4 combined control-plane and data-plane actions. Representative operations include: Microsoft.ManagedIdentity/userAssignedIdentities/read; Microsoft.ManagedIdentity/userAssignedIdentities/federatedIdentityCredentials/write; Microsoft.ManagedIdentity/userAssignedIdentities/federatedIdentityCredentials/read; and Microsoft.ManagedIdentity/userAssignedIdentities/federatedIdentityCredentials/delete. Review the permission sections above for the complete definition and exclusions.

What are the security risks of the Azure Red Hat OpenShift Federated Credential Azure role?

Key considerations when assigning Azure Red Hat OpenShift Federated Credential: A malicious federated credential can let an unintended Kubernetes service account obtain tokens as an Azure managed identity and exercise every role assigned to that identity.; and The role should never be assigned broadly or to human users because it controls trust bindings for privileged service identities.. Follow the assignment guidance above and use the narrowest practical scope.

Editorial sources (7)

Official Microsoft Learn documentation →