Skip to main content

workspace_subscription_secrets

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

Overview

Nameworkspace_subscription_secrets
TypeResource
Idazure.api_management.workspace_subscription_secrets

Fields

NameDatatypeDescription
primaryKeystringSubscription primary key.
secondaryKeystringSubscription secondary key.

Methods

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

SELECT examples

Gets the specified Subscription keys.

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