Skip to main content

services_keys

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

Overview

Nameservices_keys
TypeResource
Idazure.communication.services_keys

Fields

NameDatatypeDescription
primaryConnectionStringstringCommunicationService connection string constructed via the primaryKey
primaryKeystringThe primary access key.
secondaryConnectionStringstringCommunicationService connection string constructed via the secondaryKey
secondaryKeystringThe secondary access key.

Methods

NameAccessible byRequired ParamsDescription
listSELECTcommunicationServiceName, resourceGroupName, subscriptionIdGet the access keys of the CommunicationService resource.

SELECT examples

Get the access keys of the CommunicationService resource.

SELECT
primaryConnectionString,
primaryKey,
secondaryConnectionString,
secondaryKey
FROM azure.communication.services_keys
WHERE communicationServiceName = '{{ communicationServiceName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';