19.3. Configuring Microsoft Entra ID federation


RHACS integrations can authenticate to Microsoft Azure by using managed or workload identities. Select the Use workload identity checkbox during the creation of a new Microsoft Azure Container Registry (ACR) integration, if you want to enable authentication by using managed or workload identities in a Microsoft Azure integration.

For more information about Azure managed identities, see What are managed identities for Azure resources? (Microsoft Azure documentation).

For more information about Azure workload identities, see Workload identity federation (Microsoft Azure documentation).

중요

The identity associated with the RHACS pod through the workload identity must have the IAM permissions for the integration. For example, to set up a workload identity for integrating with Microsoft ACR, assign the Reader role over a scope that includes the registry.

For more information about Microsoft Azure IAM roles, see Azure RBAC documentation (Microsoft Azure documentation).

19.3.1. Configuring Microsoft Azure Kubernetes Service

By running Red Hat Advanced Cluster Security for Kubernetes (RHACS) on Microsoft Azure Kubernetes Service (AKS), you can configure short-lived tokens by using Microsoft Entra ID managed identities.

참고

If you use Kubernetes, enter kubectl instead of oc.

Prerequisites

  • You have access to the cluster and integration resources within Microsoft Azure.

Procedure

  1. Create a trust relationship between the external IdP and a user-assigned managed identity or application in Microsoft Entra ID.

    For more information, see Workload identity federation (Microsoft Azure documentation).

  2. Annotate the RHACS service account by running the following command:

    중요

    When setting up the delegated scanning, use sensor instead of central.

    $ oc annotate serviceaccount \
        central \
        --namespace stackrox \
        azure.workload.identity/client-id=<CLIENT_ID>

    where:

    <CLIENT_ID>
    Specifies the client ID of the associated identity.

    Example output

    serviceaccount/central annotated

19.3.2. Configuring OpenShift Container Platform

By running Red Hat Advanced Cluster Security for Kubernetes (RHACS) on OpenShift Container Platform, you can configure short-lived tokens by using Microsoft Entra ID managed identities.

Prerequisites

  • You have a public OpenID Connect (OIDC) configuration bucket with the OpenShift Container Platform service account signer key.

    For more information, see "Manual mode with short-term credentials for components" in OpenShift Container Platform documentation.

  • You have a Microsoft Entra ID user-assigned managed identity.
  • You have access to a Microsoft Azure subscription with the permission to assign role assignments.

Procedure

  • To add the federated identity credentials to a user-assigned managed identity, run the following command, for example:

    중요

    When setting up the delegated scanning, set the subject to system:serviceaccount:stackrox:sensor.

    $ az identity federated-credential create \
        --name "${FEDERATED_CREDENTIAL_NAME}" \
        --identity-name "${MANAGED_IDENTITY_NAME}" \
        --resource-group "${RESOURCE_GROUP}" \
        --issuer "${OIDC_ISSUER_URL}" \
        --subject system:serviceaccount:stackrox:central \
        --audience openshift

    where:

    --identity-name
    Specifies the identity name. The managed identity must have all the permissions for federation.
    --issuer
    Specifies the issuer. The issuer must match the service account token issuer of the OpenShift Container Platform cluster.

    For more information about how to configure short-lived tokens by using Microsoft Entra ID managed identities, see Configure a user-assigned managed identity to trust an external identity provider (Microsoft Azure documentation).

Red Hat logoGithubredditYoutubeTwitter

자세한 정보

평가판, 구매 및 판매

커뮤니티

Red Hat 소개

Red Hat은 기업이 핵심 데이터 센터에서 네트워크 에지에 이르기까지 플랫폼과 환경 전반에서 더 쉽게 작업할 수 있도록 강화된 솔루션을 제공합니다.

보다 포괄적 수용을 위한 오픈 소스 용어 교체

Red Hat은 코드, 문서, 웹 속성에서 문제가 있는 언어를 교체하기 위해 최선을 다하고 있습니다. 자세한 내용은 다음을 참조하세요.Red Hat 블로그.

Red Hat 문서 정보

Legal Notice

Theme

© 2026 Red Hat
맨 위로 이동