Skip to main content

topics_shared_access_keys

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

Overview

Nametopics_shared_access_keys
TypeResource
Idazure.event_grid.topics_shared_access_keys

Fields

NameDatatypeDescription
key1stringShared access key1 for the topic.
key2stringShared access key2 for the topic.

Methods

NameAccessible byRequired ParamsDescription
listSELECTresourceGroupName, subscriptionId, topicNameList the two keys used to publish to a topic.

SELECT examples

List the two keys used to publish to a topic.

SELECT
key1,
key2
FROM azure.event_grid.topics_shared_access_keys
WHERE resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}'
AND topicName = '{{ topicName }}';