authorization_server_secrets
Creates, updates, deletes, gets or lists a authorization_server_secrets
resource.
Overview
Name | authorization_server_secrets |
Type | Resource |
Id | azure.api_management.authorization_server_secrets |
Fields
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
Name | Accessible by | Required Params | Description |
---|---|---|---|
list | SELECT | authsid, resourceGroupName, serviceName, subscriptionId | Gets the client secret details of the authorization server. |
SELECT
examples
Gets the client secret details of the authorization server.
SELECT
clientSecret,
resourceOwnerPassword,
resourceOwnerUsername
FROM azure.api_management.authorization_server_secrets
WHERE authsid = '{{ authsid }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND serviceName = '{{ serviceName }}'
AND subscriptionId = '{{ subscriptionId }}';