tenant_access_secrets
Creates, updates, deletes, gets or lists a tenant_access_secrets
resource.
Overview
Name | tenant_access_secrets |
Type | Resource |
Id | azure.api_management.tenant_access_secrets |
Fields
Name | Datatype | Description |
---|---|---|
id | string | Access Information type ('access' or 'gitAccess') |
enabled | boolean | Determines whether direct access is enabled. |
primaryKey | string | Primary access key. This property will not be filled on 'GET' operations! Use '/listSecrets' POST request to get the value. |
principalId | string | Principal (User) Identifier. |
secondaryKey | string | Secondary access key. This property will not be filled on 'GET' operations! Use '/listSecrets' POST request to get the value. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
list | SELECT | accessName, resourceGroupName, serviceName, subscriptionId | Get 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 }}';