Skip to main content

authorization_server_secrets

Creates, updates, deletes, gets or lists a authorization_server_secrets resource.

Overview

Nameauthorization_server_secrets
TypeResource
Idazure.api_management.authorization_server_secrets

Fields

NameDatatypeDescription
clientSecretstringoAuth Authorization Server Secrets.
resourceOwnerPasswordstringCan be optionally specified when resource owner password grant type is supported by this authorization server. Default resource owner password.
resourceOwnerUsernamestringCan be optionally specified when resource owner password grant type is supported by this authorization server. Default resource owner username.

Methods

NameAccessible byRequired ParamsDescription
listSELECTauthsid, resourceGroupName, serviceName, subscriptionIdGets 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 }}';