v1

latestOpenAPI 3.0.3AGPL v3.02026-07-17425785.7 KB
CredentialsService

post/credentials

Request body

namestring required

The credential name. The name must be unique among storage and service credentials within the metastore.

purposeinteger required

The credential purpose.

commentstring

Comment associated with the credential.

readOnlyboolean

Whether the credential is usable only for read operations. Only applicable when purpose is STORAGE.

skipValidationboolean

Supplying true to this argument skips validation of the created set of credentials.

Response

OK

idstring

The unique identifier of the credential.

namestring

The credential name.

The name must be unique among storage and service credentials within the metastore.

purposeinteger

Indicates the purpose of the credential.

readOnlyboolean

Whether the credential is usable only for read operations.

Only applicable when purpose is STORAGE.

commentstring

User-provided free-form text description.

ownerstring

Username of current owner of credential.

createdAtstring

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

createdBystring

Username of credential creator.

updatedAtstring

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

updatedBystring

Username of user who last modified credential.

usedForManagedStorageboolean

Whether this credential is the current metastore's root storage credential.

Only applicable when purpose is STORAGE.

fullNamestring

The full name of the credential.