Skip to main content

wcf_relays_keys

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

Overview

Namewcf_relays_keys
TypeResource
Idazure.relay.wcf_relays_keys

Fields

NameDatatypeDescription
keyNamestringA string that describes the authorization rule.
primaryConnectionStringstringPrimary connection string of the created namespace authorization rule.
primaryKeystringA base64-encoded 256-bit primary key for signing and validating the SAS token.
secondaryConnectionStringstringSecondary connection string of the created namespace authorization rule.
secondaryKeystringA base64-encoded 256-bit secondary key for signing and validating the SAS token.

Methods

NameAccessible byRequired ParamsDescription
listSELECTauthorizationRuleName, namespaceName, relayName, resourceGroupName, subscriptionIdPrimary and secondary connection strings to the WCF relay.

SELECT examples

Primary and secondary connection strings to the WCF relay.

SELECT
keyName,
primaryConnectionString,
primaryKey,
secondaryConnectionString,
secondaryKey
FROM azure.relay.wcf_relays_keys
WHERE authorizationRuleName = '{{ authorizationRuleName }}'
AND namespaceName = '{{ namespaceName }}'
AND relayName = '{{ relayName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';