Nota
O acesso a esta página requer autorização. Pode tentar iniciar sessão ou alterar os diretórios.
O acesso a esta página requer autorização. Pode tentar alterar os diretórios.
To use Managed identities for Azure resources in your Service Fabric applications, first enable the Managed Identity Token Service on the cluster. 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.
Observação
Service Fabric runtime version 6.5.658.9590 or higher is required to enable the Managed Identity Token Service.
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"
}
]
}
]
Erros
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."
}
Artigos Relacionados
Review managed identity support in Azure Service Fabric
Habilitar o suporte de identidade gerenciada em um cluster existente do Azure Service Fabric
Próximos passos
- Implantar um aplicativo do Azure Service Fabric com uma identidade gerenciada atribuída ao sistema
- Implantar um aplicativo do Azure Service Fabric com uma identidade gerenciada atribuída pelo usuário
- Leverage the managed identity of a Service Fabric application from service code
- Conceder a um aplicativo do Azure Service Fabric acesso a outros recursos do Azure