namespaces_shared_access_keys
Creates, updates, deletes, gets or lists a namespaces_shared_access_keys
resource.
Overview
Name | namespaces_shared_access_keys |
Type | Resource |
Id | azure.event_grid.namespaces_shared_access_keys |
Fields
Name | Datatype | Description |
---|---|---|
key1 | string | Shared access key1 for the namespace. |
key2 | string | Shared access key2 for the namespace. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
list | SELECT | namespaceName, resourceGroupName, subscriptionId | List the two keys used to publish to a namespace. |
SELECT
examples
List the two keys used to publish to a namespace.
SELECT
key1,
key2
FROM azure.event_grid.namespaces_shared_access_keys
WHERE namespaceName = '{{ namespaceName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';