Skip to content

Adds auto encryption if this feature is desired. #127

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

kkapper
Copy link
Contributor

@kkapper kkapper commented May 20, 2025

This is a useful feature if you want to auto generate plaintext passwords and distribute those credentials. This avoids having to maintain references to both the plaintext and encrypted versions.

# NOTE: user `root` is already built-in, will be ignored if defined here
users: []
# - name: databend
# # available type: sha256_password, double_sha1_password, no_password, jwt
# # sha1sum: echo -n "password" | sha1sum | cut -d' ' -f1 | xxd -r -p | sha1sum
# authType: double_sha1_password
# authString: 3081f32caef285c232d066033c89a78d88a6d8a5 # databend
# password: thisIsAnExamplePassword # If generateSha256FromPlaintext is enabled above, this value will be used instead of authString.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How abount forcing sha256_password if password specified?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants