Skip to main content

domains_shared_access_keys

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

Overview

Namedomains_shared_access_keys
TypeResource
Idazure.event_grid.domains_shared_access_keys

Fields

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

Methods

NameAccessible byRequired ParamsDescription
listSELECTdomainName, resourceGroupName, subscriptionIdList the two keys used to publish to a domain.

SELECT examples

List the two keys used to publish to a domain.

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