Skip to main content

identity_provider_secrets

Creates, updates, deletes, gets or lists an identity_provider_secrets resource.

Overview

Nameidentity_provider_secrets
TypeResource
Idazure.api_management.identity_provider_secrets

Fields

The following fields are returned by SELECT queries:

The response body contains the client secret.

NameDatatypeDescription
clientSecretstringClient or app secret used in IdentityProviders, Aad, OpenID or OAuth.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectresourceGroupName, serviceName, identityProviderName, subscriptionIdGets the client secret details of the Identity Provider.

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.

NameDatatypeDescription
identityProviderNamestringIdentity Provider Type identifier.
resourceGroupNamestringThe name of the resource group. The name is case insensitive.
serviceNamestringThe name of the API Management service.
subscriptionIdstringThe ID of the target subscription.

SELECT examples

Gets the client secret details of the Identity Provider.

SELECT
clientSecret
FROM azure.api_management.identity_provider_secrets
WHERE resourceGroupName = '{{ resourceGroupName }}' -- required
AND serviceName = '{{ serviceName }}' -- required
AND identityProviderName = '{{ identityProviderName }}' -- required
AND subscriptionId = '{{ subscriptionId }}' -- required
;