Bemærk
Adgang til denne side kræver godkendelse. Du kan prøve at logge på eller ændre mapper.
Adgang til denne side kræver godkendelse. Du kan prøve at ændre mapper.
This article provides step-by-step instructions to add or remove user assigned managed identities to an Azure Database for PostgreSQL flexible server.
Steps to assign to existing servers
This article assumes you created the user assigned managed identities that you want to associate to an existing Azure Database for PostgreSQL flexible server.
For more information, see how to manage user assigned managed identities in Microsoft Entra ID.
You can associate as many user assigned managed identities as you want to an Azure Database for PostgreSQL flexible server.
The portal doesn't support associating user assigned managed identities to an Azure Database for PostgreSQL flexible server.
Steps to remove from existing servers
The service supports dissociating user assigned managed identities that are associated to an Azure Database for PostgreSQL flexible server.
An exception to that rule is any of the user assigned managed identities that you designate as the ones to access the encryption keys for data encryption. This case is only possible on servers that you deploy with data encryption using customer managed keys.
The portal doesn't support dissociating user assigned managed identities from an Azure Database for PostgreSQL flexible server.
Steps to show currently assigned
Using the Azure portal:
Select your Azure Database for PostgreSQL flexible server.
In the resource menu, select Overview.
Select JSON View.
In the Resource JSON panel that opens, find the identity property. Inside it, you can find the userAssignedIdentities. That object consists of one or more key/value pairs, where each key represents the resource identifier of one user assigned managed identity. The corresponding value includes the principalId and clientId associated with that managed identity.