Skip to main content

keys

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

Overview

Namekeys
TypeResource
Idazure.web_pubsub.keys

Fields

NameDatatypeDescription
primaryConnectionStringstringConnection string constructed via the primaryKey
primaryKeystringThe primary access key.
secondaryConnectionStringstringConnection string constructed via the secondaryKey
secondaryKeystringThe secondary access key.

Methods

NameAccessible byRequired ParamsDescription
listSELECTresourceGroupName, resourceName, subscriptionIdGet the access keys of the resource.

SELECT examples

Get the access keys of the resource.

SELECT
primaryConnectionString,
primaryKey,
secondaryConnectionString,
secondaryKey
FROM azure.web_pubsub.keys
WHERE resourceGroupName = '{{ resourceGroupName }}'
AND resourceName = '{{ resourceName }}'
AND subscriptionId = '{{ subscriptionId }}';