Прочитать на английском

Поделиться через


Configure managed identity support for a new Service Fabric cluster

Чтобы использовать управляемые удостоверения для приложений Service Fabric в ресурсах Azure, сначала включите службу токенов управляемого удостоверения в кластере. This service is responsible for the authentication of Service Fabric applications using their managed identities, and for obtaining access tokens on their behalf. Once the service is enabled, you can see it in Service Fabric Explorer under the System section in the left pane, running under the name fabric:/System/ManagedIdentityTokenService next to other system services.

Примечание

Среда выполнения Service Fabric версии 6.5.658.9590 или более поздней требуется для включения службы токенов управляемой идентификации.

Enable the Managed Identity Token Service

To enable the Managed Identity Token Service at cluster creation time, add the following snippet to your cluster Azure Resource Manager template:

"fabricSettings": [
    {
        "name": "ManagedIdentityTokenService",
        "parameters": [
            {
                "name": "IsEnabled",
                "value": "true"
            }
        ]
    }
]

Ошибки

If the deployment fails with this message, it means the cluster is not on the required Service Fabric version (the minimum supported runtime is 6.5 CU2):

{
    "code": "ParameterNotAllowed",
    "message": "Section 'ManagedIdentityTokenService' and Parameter 'IsEnabled' is not allowed."
}

Дальнейшие действия