ALTER STORAGE CREDENTIAL
Applies to: Databricks SQL
Databricks Runtime 10.3 and above
Unity Catalog only
Renames a storage credential.
Syntax
ALTER STORAGE CREDENTAL credential_name
{ RENAME TO to_credential_name |
[ SET ] OWNER TO principal }
Parameters
-
Identifies the storage credential being altered.
RENAME TO to_credential_name
Renames the credential a new name. The name must be unique among all credentials in the metastore.
[ SET ] OWNER TO principal
Transfers ownership of the storage credential to
principal
.Applies to:
Databricks SQL SQL warehouse version 2022.35 or higher
Databricks Runtime 11.2 and above
SET
is allowed as an optional keyword.