Lưu ý
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử đăng nhập hoặc thay đổi thư mục.
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử thay đổi thư mục.
Applies to:
Databricks SQL
Databricks Runtime 10.4 LTS and above
Unity Catalog only
Renames a credential.
Syntax
ALTER [ STORAGE | SERVICE ] CREDENTIAL credential_name
{ RENAME TO to_credential_name |
[ SET ] OWNER TO principal }
Parameters
[ STORAGE | SERVICE ] credential_name
Identifies the credential being altered. The keywords
STORAGEandSERVICE(
Databricks Runtime 15.4 and above) are optional.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 credential to
principal.Applies to:
Databricks SQL
Databricks Runtime 11.3 LTS and aboveSETis allowed as an optional keyword.
Examples
> ALTER CREDENTIAL street_cred RENAME TO good_cred;
> ALTER CREDENTIAL street_cred OWNER TO `alf@melmak.et`