Credentials

Create a credential

Changed on

Creates a new credential. The type of credential to be created is determined by the purpose field.

post/credentials

Request

  • Base URL
    http://localhost:8080/api/2.1/unity-catalog
  • Auth
    none declared

Request body

namestring required

The credential name. The name must be unique within the metastore.

commentstring

Comment associated with the credential.

purpose'STORAGE'

Response

The new credential was successfully created.

namestring

The credential name. The name must be unique within the metastore.

commentstring

Comment associated with the credential.

ownerstring

Username of current owner of credential.

full_namestring

The full name of the credential.

idstring

The unique identifier of the credential.

created_atinteger

Time at which this Credential was created, in epoch milliseconds.

created_bystring

Username of credential creator.

updated_atinteger

Time at which this credential was last modified, in epoch milliseconds.

updated_bystring

Username of user who last modified the credential.

purpose'STORAGE'

Changes