Skip to main content

subscription_secrets

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

Overview

Namesubscription_secrets
TypeResource
Idazure.api_management.subscription_secrets

Fields

NameDatatypeDescription
primaryKeystringSubscription primary key.
secondaryKeystringSubscription secondary key.

Methods

NameAccessible byRequired ParamsDescription
listSELECTresourceGroupName, serviceName, sid, subscriptionIdGets the specified Subscription keys.

SELECT examples

Gets the specified Subscription keys.

SELECT
primaryKey,
secondaryKey
FROM azure.api_management.subscription_secrets
WHERE resourceGroupName = '{{ resourceGroupName }}'
AND serviceName = '{{ serviceName }}'
AND sid = '{{ sid }}'
AND subscriptionId = '{{ subscriptionId }}';