v9

latestSwagger 2.0raw.githubusercontent.com2019-09-114553151.8 KB
Catalog

Creates 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 CreateCredential instead.

put/catalog/usql/databases/{databaseName}/secrets/{secretName}

Path parameters

databaseNamestring required

The name of the database in which to create the secret.

secretNamestring required

The name of the secret.

Query parameters

api-versionstring required

Client Api Version.

Request body

passwordstring required

the password for the secret to pass in

uristring

the URI identifier for the secret in the format <hostname>:<port>

Response

Successfully created the specified secret in the specified database.