ALTER STORAGE CREDENTIAL
Applies to: Databricks SQL
Databricks Runtime 10.4 LTS and above
Unity Catalog only
Renames a storage credential.
Syntax
ALTER STORAGE CREDENTIAL 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
Databricks Runtime 11.3 LTS and above
SET
is allowed as an optional keyword.
Examples
> ALTER STORAGE CREDENTIAL street_cred RENAME TO good_cred;
> ALTER STORAGE CREDENTIAL street_cred OWNER TO `alf@melmak.et`
Related articles
Tilbakemeldinger
https://aka.ms/ContentUserFeedback.
Kommer snart: Gjennom 2024 faser vi ut GitHub Issues som tilbakemeldingsmekanisme for innhold, og erstatter det med et nytt system for tilbakemeldinger. Hvis du vil ha mer informasjon, kan du se:Send inn og vis tilbakemelding for