Integration Runtime Auth Keys - Regenerate
Regenerate integration runtime authentication key
Regenerate the authentication key for an integration runtime
POST https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/integrationRuntimes/{integrationRuntimeName}/regenerateAuthKey?api-version=2021-06-01
URI Parameters
| Name | In | Required | Type | Description |
|---|---|---|---|---|
|
integration
|
path | True |
string |
Integration runtime name |
|
resource
|
path | True |
string minLength: 1maxLength: 90 |
The name of the resource group. The name is case insensitive. |
|
subscription
|
path | True |
string minLength: 1 |
The ID of the target subscription. |
|
workspace
|
path | True |
string |
The name of the workspace. |
|
api-version
|
query | True |
string minLength: 1 |
The API version to use for this operation. |
Request Body
| Name | Type | Description |
|---|---|---|
| keyName |
The name of the authentication key to regenerate. |
Responses
| Name | Type | Description |
|---|---|---|
| 200 OK |
OK. |
|
| Other Status Codes |
An error response received from the Azure Synapse service. |
Examples
Regenerate auth key
Sample request
POST https://management.azure.com/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.Synapse/workspaces/exampleWorkspace/integrationRuntimes/exampleIntegrationRuntime/regenerateAuthKey?api-version=2021-06-01
{
"keyName": "authKey2"
}
Sample response
Date: Thu, 14 Jun 2018 14:50:41 GMT
X-Content-Type-Options: nosniff
x-ms-ratelimit-remaining-subscription-writes: 1198
x-ms-request-id: 25af6d34-52c6-40a4-a882-16052af85c99
x-ms-correlation-request-id: 25af6d34-52c6-40a4-a882-16052af85c99
{
"authKey2": "**********"
}
Definitions
| Name | Description |
|---|---|
|
Error |
The resource management error additional info. |
|
Error |
The error detail. |
|
Error |
Error response |
|
Integration |
The name of the authentication key to regenerate. |
|
Integration |
The integration runtime authentication keys. |
|
Integration |
Parameters to regenerate the authentication key. |
ErrorAdditionalInfo
The resource management error additional info.
| Name | Type | Description |
|---|---|---|
| info |
object |
The additional info. |
| type |
string |
The additional info type. |
ErrorDetail
The error detail.
| Name | Type | Description |
|---|---|---|
| additionalInfo |
The error additional info. |
|
| code |
string |
The error code. |
| details |
The error details. |
|
| message |
string |
The error message. |
| target |
string |
The error target. |
ErrorResponse
Error response
| Name | Type | Description |
|---|---|---|
| error |
The error object. |
IntegrationRuntimeAuthKeyName
The name of the authentication key to regenerate.
| Value | Description |
|---|---|
| authKey1 | |
| authKey2 |
IntegrationRuntimeAuthKeys
The integration runtime authentication keys.
| Name | Type | Description |
|---|---|---|
| authKey1 |
string |
The primary integration runtime authentication key. |
| authKey2 |
string |
The secondary integration runtime authentication key. |
IntegrationRuntimeRegenerateKeyParameters
Parameters to regenerate the authentication key.
| Name | Type | Description |
|---|---|---|
| keyName |
The name of the authentication key to regenerate. |