az postgres flexible-server identity
Manage server user assigned identities.
Commands
Name | Description | Type | Status |
---|---|---|---|
az postgres flexible-server identity assign |
Add user asigned managed identities to the server. |
Core | GA |
az postgres flexible-server identity list |
List all user assigned managed identities from the server. |
Core | GA |
az postgres flexible-server identity remove |
Remove user asigned managed identites from the server. |
Core | GA |
az postgres flexible-server identity show |
Get an user assigned managed identity from the server. |
Core | GA |
az postgres flexible-server identity assign
Add user asigned managed identities to the server.
az postgres flexible-server identity assign --identity
--resource-group
--server-name
[--no-wait]
Examples
Add identities 'test-identity' and 'test-identity-2' to server 'testsvr'.
az postgres flexible-server identity assign -g testgroup -s testsvr --identity test-identity test-identity-2
Required Parameters
Space-separated names or ID's of identities.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Name of the server. The name can contain only lowercase letters, numbers, and the hyphen (-) character. Minimum 3 characters and maximum 63 characters.
Optional Parameters
Do not wait for the long-running operation to finish.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az postgres flexible-server identity list
List all user assigned managed identities from the server.
az postgres flexible-server identity list --resource-group
--server-name
Examples
List all identities from server 'testsvr'.
az postgres flexible-server identity list -g testgroup -s testsvr
Required Parameters
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Name of the server. The name can contain only lowercase letters, numbers, and the hyphen (-) character. Minimum 3 characters and maximum 63 characters.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az postgres flexible-server identity remove
Remove user asigned managed identites from the server.
az postgres flexible-server identity remove --identity
--resource-group
--server-name
[--no-wait]
[--yes]
Examples
Remove identity 'test-identity' from server 'testsvr'.
az postgres flexible-server identity remove -g testgroup -s testsvr --identity test-identity
Required Parameters
Space-separated names or ID's of identities.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Name of the server. The name can contain only lowercase letters, numbers, and the hyphen (-) character. Minimum 3 characters and maximum 63 characters.
Optional Parameters
Do not wait for the long-running operation to finish.
Do not prompt for confirmation.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az postgres flexible-server identity show
Get an user assigned managed identity from the server.
az postgres flexible-server identity show --identity
--resource-group
--server-name
Examples
Get identity 'test-identity' from server 'testsvr'.
az postgres flexible-server identity show -g testgroup -s testsvr --identity test-identity
Required Parameters
Name or ID of identity to show.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Name of the server. The name can contain only lowercase letters, numbers, and the hyphen (-) character. Minimum 3 characters and maximum 63 characters.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.