CustomerManagedKeyEncryptionKeyIdentity Class

All identity configuration for Customer-managed key settings defining which identity should be used to auth to Key Vault.

Constructor

CustomerManagedKeyEncryptionKeyIdentity(*, identity_type: str | _models.IdentityType | None = None, user_assigned_identity_resource_id: str | None = None, delegated_identity_client_id: str | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
identity_type

Values can be systemAssignedIdentity or userAssignedIdentity. Known values are: "systemAssignedIdentity", "userAssignedIdentity", and "delegatedResourceIdentity".

Default value: None
user_assigned_identity_resource_id
str

user assigned identity to use for accessing key encryption key Url. Ex: /subscriptions/fa5fc227-a624-475e-b696-cdd604c735bc/resourceGroups/<resource group>/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myId. Mutually exclusive with identityType systemAssignedIdentity and delegatedResourceIdentity.

Default value: None
delegated_identity_client_id
str

delegated identity to use for accessing key encryption key Url. Ex: /subscriptions/fa5fc227-a624-475e-b696-cdd604c735bc/resourceGroups/<resource group>/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myId. Mutually exclusive with identityType systemAssignedIdentity and userAssignedIdentity - internal use only.

Default value: None

Variables

Name Description
identity_type

Values can be systemAssignedIdentity or userAssignedIdentity. Known values are: "systemAssignedIdentity", "userAssignedIdentity", and "delegatedResourceIdentity".

user_assigned_identity_resource_id
str

user assigned identity to use for accessing key encryption key Url. Ex: /subscriptions/fa5fc227-a624-475e-b696-cdd604c735bc/resourceGroups/<resource group>/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myId. Mutually exclusive with identityType systemAssignedIdentity and delegatedResourceIdentity.

delegated_identity_client_id
str

delegated identity to use for accessing key encryption key Url. Ex: /subscriptions/fa5fc227-a624-475e-b696-cdd604c735bc/resourceGroups/<resource group>/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myId. Mutually exclusive with identityType systemAssignedIdentity and userAssignedIdentity - internal use only.