Skip to main content
Version: Next

Get credentials

GET 

/metalakes/:metalake/objects/:metadataObjectType/:metadataObjectFullName/credentials

Get credentials

Request​

Path Parameters

    metalake stringrequired

    The name of the metalake

    metadataObjectType stringrequired

    Possible values: [METALAKE, CATALOG, SCHEMA, TABLE, COLUMN, FILESET, TOPIC, MODEL, ROLE]

    The type of the metadata object

    metadataObjectFullName stringrequired

    The full name of the metadata object

Responses​

Returns the list of credential objects associated with specified metadata object.

Schema

    code int32

    Possible values: [0]

    Status code of the response

    credentials

    object[]

    A list of credential objects

  • Array [

  • credentialType stringrequired

    The type of the credential, for example, s3-token, s3-secret-key, oss-token, oss-secret-key, gcs-token, adls-token, azure-account-key, etc.

    expireTimeInMs integerrequired

    The expiration time of the credential in milliseconds since the epoch, 0 means not expire.

    credentialInfo

    object

    required

    The specific information of the credential.

    property name* string
  • ]

Loading...