Skip to main content

integration_runtime_auth_keys

Creates, updates, deletes, gets or lists an integration_runtime_auth_keys resource.

Overview

Nameintegration_runtime_auth_keys
TypeResource
Idazure.synapse.integration_runtime_auth_keys

Fields

The following fields are returned by SELECT queries:

OK.

NameDatatypeDescription
authKey1stringThe primary integration runtime authentication key.
authKey2stringThe secondary integration runtime authentication key.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectsubscriptionId, resourceGroupName, workspaceName, integrationRuntimeNameList authentication keys in an integration runtime
regenerateexecsubscriptionId, resourceGroupName, workspaceName, integrationRuntimeNameRegenerate the authentication key for an integration runtime

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
integrationRuntimeNamestringIntegration runtime name
resourceGroupNamestringThe name of the resource group. The name is case insensitive.
subscriptionIdstringThe ID of the target subscription.
workspaceNamestringThe name of the workspace.

SELECT examples

List authentication keys in an integration runtime

SELECT
authKey1,
authKey2
FROM azure.synapse.integration_runtime_auth_keys
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND workspaceName = '{{ workspaceName }}' -- required
AND integrationRuntimeName = '{{ integrationRuntimeName }}' -- required
;

Lifecycle Methods

Regenerate the authentication key for an integration runtime

EXEC azure.synapse.integration_runtime_auth_keys.regenerate 
@subscriptionId='{{ subscriptionId }}' --required,
@resourceGroupName='{{ resourceGroupName }}' --required,
@workspaceName='{{ workspaceName }}' --required,
@integrationRuntimeName='{{ integrationRuntimeName }}' --required
@@json=
'{
"keyName": "{{ keyName }}"
}'
;