namespaces_keys
Creates, updates, deletes, gets or lists a namespaces_keys
resource.
Overview
Name | namespaces_keys |
Type | Resource |
Id | azure.relay.namespaces_keys |
Fields
Name | Datatype | Description |
---|---|---|
keyName | string | A string that describes the authorization rule. |
primaryConnectionString | string | Primary connection string of the created namespace authorization rule. |
primaryKey | string | A base64-encoded 256-bit primary key for signing and validating the SAS token. |
secondaryConnectionString | string | Secondary connection string of the created namespace authorization rule. |
secondaryKey | string | A base64-encoded 256-bit secondary key for signing and validating the SAS token. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
list | SELECT | authorizationRuleName, namespaceName, resourceGroupName, subscriptionId | Primary and secondary connection strings to the namespace. |
SELECT
examples
Primary and secondary connection strings to the namespace.
SELECT
keyName,
primaryConnectionString,
primaryKey,
secondaryConnectionString,
secondaryKey
FROM azure.relay.namespaces_keys
WHERE authorizationRuleName = '{{ authorizationRuleName }}'
AND namespaceName = '{{ namespaceName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';