STORAGE_CREDENTIALS
Applies to: Databricks SQL Databricks Runtime 10.4 LTS and above
INFORMATION_SCHEMA.STORAGE_CREDENTIALS describes storage credentials.
Information is displayed only for storage credentials the user has permission to interact with.
This is an extension to the SQL Standard Information Schema.
Warning
Starting with Databricks Runtime 15.4, this relation is deprecated. Use INFORMATION_SCHEMA.CREDENTIALS instead.
Note also that during the service credentials preview, INFORMATION_SCHEMA.STORAGE_CREDENTIALS
displays both storage credentials and service credentials. This is incorrect preview behavior that will be corrected, and you should not depend on it to continue.
Definition
The STORAGE_CREDENTIALS
relation contains the following columns:
Name |
Data type |
Nullable |
Description |
---|---|---|---|
|
|
No |
ID of the storage credential. |
|
|
No |
Name of the storage credential. |
|
|
No |
Owner of the storage credential. |
|
|
No |
Type of the storage credential. |
|
|
No |
Redacted storage credential. |
|
|
No |
Whether this storage credential is used as the root credential of the metastore. |
|
|
Yes |
An optional comment that describes the storage credential. |
|
|
No |
Timestamp when the storage credential was created. |
|
|
No |
Principal who created the storage credential. |
|
|
No |
Timestamp when the storage credential was last altered in any way. |
|
|
No |
Principal who last altered the storage credential. |