Catalog - Update Secret
Modifies the specified secret for use with external data sources in the specified database. This is deprecated and will be removed in the next release. Please use UpdateCredential instead.
PATCH https://{accountName}.{adlaCatalogDnsSuffix}/catalog/usql/databases/{databaseName}/secrets/{secretName}?api-version=2016-11-01
URI Parameters
Name | In | Required | Type | Description |
---|---|---|---|---|
account
|
path | True |
string |
The Azure Data Lake Analytics account upon which to execute catalog operations. |
adla
|
path | True |
string |
Gets the DNS suffix used as the base for all Azure Data Lake Analytics Catalog service requests. |
database
|
path | True |
string |
The name of the database containing the secret. |
secret
|
path | True |
string |
The name of the secret. |
api-version
|
query | True |
string |
Client Api Version. |
Request Body
Name | Required | Type | Description |
---|---|---|---|
password | True |
string |
the password for the secret to pass in |
uri |
string |
the URI identifier for the secret in the format : |
Responses
Name | Type | Description |
---|---|---|
200 OK |
Successfully updated the details of the specified secret in the specified database. |
Examples
Modifies the specified secret for use with external data sources in the specified database
Sample Request
PATCH https://contosoadla.azuredatalakeanalytics.net/catalog/usql/databases/master/secrets/test_secret_name?api-version=2016-11-01
{
"password": "test_password",
"uri": "test_host:8000"
}
Sample Response
Definitions
DataLakeAnalyticsCatalogSecretCreateOrUpdateParameters
Data Lake Analytics catalog secret creation and update parameters. This is deprecated and will be removed in the next release. Please use DataLakeAnalyticsCatalogCredentialCreateOrUpdateParameters instead.
Name | Type | Description |
---|---|---|
password |
string |
the password for the secret to pass in |
uri |
string |
the URI identifier for the secret in the format : |