Skip to content

docs: add cli user admin-password command for resetting admin password - #2471

Merged
shuiyisong merged 1 commit into
mainfrom
docs/admin-password-reset-cli
May 14, 2026
Merged

docs: add cli user admin-password command for resetting admin password#2471
shuiyisong merged 1 commit into
mainfrom
docs/admin-password-reset-cli

Conversation

@v0y4g3r

@v0y4g3r v0y4g3r commented May 14, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Document the new greptime cli user admin-password CLI command (from greptimedb-enterprise#631) for resetting the admin password without manually editing the KV store.
  • Add the documentation to all 4 versions: English nightly and v1.0, Chinese nightly and v1.0.
  • Note that the command must be invoked from a Metasrv instance.

Test plan

  • Verify the CLI command syntax matches the implementation in greptimedb-enterprise#631
  • Check English docs render correctly on the nightly and v1.0 doc sites
  • Check Chinese docs render correctly on the nightly and v1.0 doc sites

- `enterprise/user.md`: document the new CLI command for resetting the admin password via `greptime cli user admin-password`, covering both English and Chinese versions (nightly and v1.0)
- note that the command must be invoked from a Metasrv instance and reads backend storage settings from a Metasrv config file

Signed-off-by: Lei, HUANG <mrsatangel@gmail.com>
Copilot AI review requested due to automatic review settings May 14, 2026 08:57

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Documents the new greptime cli user admin-password command that resets the built-in admin password without manual KV store edits, across all four doc variants (EN/ZH × nightly/v1.0).

Changes:

  • Add a "Resetting the Admin Password" bullet under the admin user section in English nightly and v1.0 docs.
  • Add the equivalent Chinese translation in nightly and v1.0 docs.
  • Note that the command must be invoked from a Metasrv instance and uses the Metasrv config for backend storage.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.

File Description
docs/enterprise/user.md English nightly: adds CLI reset password documentation.
versioned_docs/version-1.0/enterprise/user.md English v1.0: same addition.
i18n/zh/docusaurus-plugin-content-docs/current/enterprise/user.md Chinese nightly translation.
i18n/zh/docusaurus-plugin-content-docs/version-1.0/enterprise/user.md Chinese v1.0 translation.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying greptime-docs with  Cloudflare Pages  Cloudflare Pages

Latest commit: 3a3a92c
Status: ✅  Deploy successful!
Preview URL: https://f09fa929.greptime-docs.pages.dev
Branch Preview URL: https://docs-admin-password-reset-cl.greptime-docs.pages.dev

View logs

@shuiyisong
shuiyisong merged commit d413338 into main May 14, 2026
9 checks passed
@shuiyisong
shuiyisong deleted the docs/admin-password-reset-cli branch May 14, 2026 09:09
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.

3 participants