Skip to main content

Get secrets

GET 

/metalakes/:metalake/objects/:metadataObjectType/:metadataObjectFullName/secrets

Returns the plaintext values of a metadata object's secret properties, which get and list responses mask as ******: properties declared hidden and undeclared properties whose names look sensitive. Callers without the USE_SECRETS privilege get an empty map, and cloud access-key pairs are left out unless the caller also has INCLUDE_CREDENTIAL_SECRETS.

Sign in with a bearer token or a local user's password; see Authentication.

Request​

Path Parameters

    metalake stringrequired

    The name of the metalake

    metadataObjectType stringrequired

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

    The type of the metadata object. Secrets can be read for objects of type METALAKE, CATALOG, SCHEMA, TABLE, VIEW, FILESET, TOPIC and MODEL.

    metadataObjectFullName stringrequired

    The full name of the metadata object

Responses​

The plaintext values of the object's secret properties, keyed by property name. The map is empty when the caller lacks USE_SECRETS.

Schema

    code int32

    Possible values: [0]

    Status code of the response

    secrets

    object

    Map of secret property key to plaintext value

    property name* string
Loading...