DESCRIBE STORAGE CREDENTIAL (Databricks SQL)

Preview

Unity Catalog is in Public Preview. To participate in the preview, contact your Databricks representative.

Returns the metadata of an existing storage credential. The metadata information includes credential name, comment, owner and other metadata.

You must be account or metastore admin to execute this command.

Syntax

DESCRIBE STORAGE CREDENTIAL credential_name

Parameters

  • credential_name

    The name of an existing storage credential in the metastore. If the name does not exist, an exception is thrown.

Examples

> DESCRIBE CREDENTIAL good_cred;
  name      owner  created_at               created_by   credential
  --------- ------ ------------------------ ------------ ---------------------------------------------
  good_cred admins 2022-01-01T08:00:00.0000 jane@doe.com AwsIamRole:arn:aws:iam:123456789012:roe/us....