Skip to main content

identity

+++ title = "Identity" description = "Identity Object" weight = 9996 alwaysopen = false +++

Many resources allow a system or user assigned identity to be associated with the resource. This allows roles and permissions to be granted to the identity to allow the resource access to other resources such as keyvaults. System assigned identities are connected to the resource and are automatically deleted when the resource is deleted. User assigned identities allow multiple independent managed identities to be associated with the resource. A single user assigned managed identity can be used for multiple resources.

Attributes

AttributeTypeMandatoryValuesDefaultNotes
SystemIdentityBooleanNoTrue, False (D)
UserIdentityObjectNo

UserIdentity

AttributeTypeMandatoryValuesDefaultNotes
NameStringYes
ResourceGroupNameStringNoDefaults to RG of resource

Input by YAML

Object model for YAML deployment:

    Identity:
SystemIdentity: boolean # True, False (D)
UserIdentity:
- Name: 'string'
ResourceGroupName: 'string'

Input by JSON

Object model for JSON deployment:

{
"Identity": {
"SystemIdentity": boolean,
"UserIdentity": [
{
"Name": "string",
"ResourceGroupName": "string"
}
]
}
}