Anteckning
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Om du vill använda hanterade identiteter för Azure-resurser i dina Service Fabric-program aktiverar du först tjänsten hanterad identitetstoken i klustret. Den här tjänsten ansvarar för autentisering av Service Fabric-program med hjälp av deras hanterade identiteter och för att få åtkomsttoken för deras räkning. 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.
Anmärkning
Service Fabric Runtime version 6.5.658.9590 eller senare krävs för att aktivera tjänsten för hanterad identitetstoken.
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"
}
]
}
]
Felaktigheter
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."
}
Relaterade artiklar
Review managed identity support in Azure Service Fabric
Aktivera stöd för hanterad identitet i ett befintligt Azure Service Fabric-kluster
Nästa steg
- Distribuera ett Azure Service Fabric-program med en systemtilldelad hanterad identitet
- Distribuera ett Azure Service Fabric-program med en användartilldelad hanterad identitet
- Utnyttja den hanterade identiteten för ett Service Fabric-program från tjänstkoden
- Bevilja ett Azure Service Fabric-program åtkomst till andra Azure-resurser