authorization_server_secrets
Creates, updates, deletes, gets or lists an authorization_server_secrets
resource.
Overview
Name | authorization_server_secrets |
Type | Resource |
Id | azure.api_management.authorization_server_secrets |
Fields
The following fields are returned by SELECT
queries:
- list
Gets the secrets of the specified authorization server.
Name | Datatype | Description |
---|---|---|
clientSecret | string | oAuth Authorization Server Secrets. |
resourceOwnerPassword | string | Can be optionally specified when resource owner password grant type is supported by this authorization server. Default resource owner password. |
resourceOwnerUsername | string | Can be optionally specified when resource owner password grant type is supported by this authorization server. Default resource owner username. |
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
list | select | resourceGroupName , serviceName , authsid , subscriptionId | Gets the client secret details of the authorization server. |
Parameters
Parameters can be passed in the WHERE
clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
Name | Datatype | Description |
---|---|---|
authsid | string | Identifier of the authorization server. |
resourceGroupName | string | The name of the resource group. The name is case insensitive. |
serviceName | string | The name of the API Management service. |
subscriptionId | string | The ID of the target subscription. |
SELECT
examples
- list
Gets the client secret details of the authorization server.
SELECT
clientSecret,
resourceOwnerPassword,
resourceOwnerUsername
FROM azure.api_management.authorization_server_secrets
WHERE resourceGroupName = '{{ resourceGroupName }}' -- required
AND serviceName = '{{ serviceName }}' -- required
AND authsid = '{{ authsid }}' -- required
AND subscriptionId = '{{ subscriptionId }}' -- required
;