subscription_secrets
Creates, updates, deletes, gets or lists a subscription_secrets
resource.
Overview
Name | subscription_secrets |
Type | Resource |
Id | azure.api_management.subscription_secrets |
Fields
Name | Datatype | Description |
---|---|---|
primaryKey | string | Subscription primary key. |
secondaryKey | string | Subscription secondary key. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
list | SELECT | resourceGroupName, serviceName, sid, subscriptionId | Gets 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 }}';