Skip to main content

tenant_access_secrets

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

Overview

Nametenant_access_secrets
TypeResource
Idazure.api_management.tenant_access_secrets

Fields

NameDatatypeDescription
idstringAccess Information type ('access' or 'gitAccess')
enabledbooleanDetermines whether direct access is enabled.
primaryKeystringPrimary access key. This property will not be filled on 'GET' operations! Use '/listSecrets' POST request to get the value.
principalIdstringPrincipal (User) Identifier.
secondaryKeystringSecondary access key. This property will not be filled on 'GET' operations! Use '/listSecrets' POST request to get the value.

Methods

NameAccessible byRequired ParamsDescription
listSELECTaccessName, resourceGroupName, serviceName, subscriptionIdGet tenant access information details.

SELECT examples

Get tenant access information details.

SELECT
id,
enabled,
primaryKey,
principalId,
secondaryKey
FROM azure.api_management.tenant_access_secrets
WHERE accessName = '{{ accessName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND serviceName = '{{ serviceName }}'
AND subscriptionId = '{{ subscriptionId }}';