Share via


az backup vault identity

Identity details of a Recovery Services Vault.

Commands

Name Description Type Status
az backup vault identity assign

Assign Identities to Recovery Services vault.

Core GA
az backup vault identity remove

Remove Identities of Recovery Services vault.

Core GA
az backup vault identity show

Show Identities of Recovery Services vault.

Core GA

az backup vault identity assign

Assign Identities to Recovery Services vault.

az backup vault identity assign [--ids]
                                [--name]
                                [--resource-group]
                                [--subscription]
                                [--system-assigned]
                                [--user-assigned]

Examples

Assign Identities to Recovery Services vault. (autogenerated)

az backup vault identity assign --system-assigned --user-assigned MyIdentityId1 --resource-group MyResourceGroup --name MyVault

Optional Parameters

--ids

One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.

--name -n

Name of the Recovery services vault.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--system-assigned

Provide this flag to enable system assigned identity for Recovery Services Vault.

--user-assigned

Space-separated list of userassigned identities to be assigned to Recovery Services Vault.

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
Default value: json
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--verbose

Increase logging verbosity. Use --debug for full debug logs.

az backup vault identity remove

Remove Identities of Recovery Services vault.

az backup vault identity remove [--ids]
                                [--name]
                                [--resource-group]
                                [--subscription]
                                [--system-assigned]
                                [--user-assigned]

Examples

Remove Identities of Recovery Services vault. (autogenerated)

az backup vault identity remove --system-assigned --user-assigned MyIdentityId1 --resource-group MyResourceGroup --name MyVault

Optional Parameters

--ids

One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.

--name -n

Name of the Recovery services vault.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--system-assigned

Provide this flag to remove system assigned identity for Recovery Services Vault.

--user-assigned

Space-separated list of userassigned identities to be removed from Recovery Services Vault.

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
Default value: json
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--verbose

Increase logging verbosity. Use --debug for full debug logs.

az backup vault identity show

Show Identities of Recovery Services vault.

az backup vault identity show [--ids]
                              [--name]
                              [--resource-group]
                              [--subscription]

Examples

Show Identities of Recovery Services vault. (autogenerated)

az backup vault identity show --resource-group MyResourceGroup --name MyVault

Optional Parameters

--ids

One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.

--name -n

Name of the Recovery services vault.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
Default value: json
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--verbose

Increase logging verbosity. Use --debug for full debug logs.