简体   繁体   English

系统用户/角色的密码是否以加密形式存储在 YugabyteDB YSQL 和 YCQL 中?

[英]Are passwords for system users/roles stored in encrypted form in YugabyteDB YSQL and YCQL?

When we create users/roles (see examples below) how are the passwords stored persistently?当我们创建用户/角色(参见下面的示例)时,密码是如何持久存储的? Are these stored in some encrypted form, and not as plain text?这些是否以某种加密形式存储,而不是纯文本?

# YSQL
CREATE USER tester WITH PASSWORD 'test_password';

or,或者,

# YCQL
CREATE ROLE IF NOT EXISTS john WITH PASSWORD = 'test_password' AND LOGIN = true

For both APIs they are stored in an encrypted form.对于这两种 API,它们都以加密形式存储。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM