适用于:
 Databricks SQL 
 Databricks Runtime 10.4 LTS 及更高版本 
 仅 Unity Catalog
列出请求用户可访问的工作区中的所有凭证。
语法
SHOW [ STORAGE | SERVICE ] CREDENTIALS
参数
STORAGE:列出存储凭证。SERVICE:列出服务凭证。适用于:
 Databricks Runtime 15.4 及更高版本。
如果未指定 STORAGE 或 SERVICE,则列出所有可访问的凭证。
示例
> SHOW STORAGE CREDENTIALS
  name         comment
  ------------ -----------------
  some_creds   Used to access s3
> SHOW SERVICE CREDENTIALS
  name          comment
  ------------- ----------------------
  service_creds Used to access secrets
> SHOW CREDENTIALS
  name          comment
  ------------- ----------------------
  service_creds Used to access secrets
  some_creds    Used to access s3