Skip to navigation

Create a WarehouseCredential

Create a new WarehouseCredential. Generates a username and password, provisions the credential in the warehouse, and returns the one-time password.

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Request

This endpoint expects an object.
expiresAtdatetimeRequired

The time after which new connections using the username/password will not be permitted. Upon expiration, currently open connections are not terminated. Must be no more than the tenant’s configured maximum (24 hours by default) in the future.

labelstring or nullOptional<=255 characters
An optional label defined by the user who created the WarehouseCredential.

Response

OK
passwordstringOptional
The generated password for the warehouse credential. This value is only returned once at creation time and cannot be retrieved again.
warehouseCredentialobjectOptional
The created WarehouseCredential.

Errors

400
Bad Request Error
403
Forbidden Error
404
Not Found Error
409
Conflict Error
429
Too Many Requests Error
500
Internal Server Error