Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Safe local credential rotation without data loss — CLI v2.120.0

已关闭
#7,088 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
1-2 天
新手友好度
42/100
Issue 类型
文档
描述清晰度
基本清楚
活跃度
活跃
技术栈
cli, docker, postgresql, typescript

调研方向

Start by reviewing the CLI documentation and the local stack configuration for credential generation and service restart behavior in v2.120.0. Determine whether credentials can be rotated independently while preserving PostgreSQL data and Docker volumes, then document supported verification and rollback steps. Done means the procedure is verified for that version and explains how to reject old credentials safely.

由索引模型根据 Issue 内容生成。

描述

📘 Docs supabase/cli
Affected area

Auth

Supabase CLI version

v2.120.0

Operating system

Windows 11

Installation method

None

Command
supabase start
Actual output
No CLI error or crash. This report requests guidance for safely rotating potentially compromised local credentials.
Expected behavior

A documented, non-destructive procedure to rotate local privileged credentials while preserving PostgreSQL data and Docker volumes, including verification and rollback instructions.

Steps to reproduce
  1. Run a local development stack using supabase start on CLI v2.120.0. 2. Consider a locally generated privileged credential potentially compromised. 3. Attempt to identify an officially documented non-destructive rotation procedure. 4. No verified procedure has been established for this CLI version.
Crash report ID

No response

Docker and service versions

Additional context

I am looking for an officially supported way to revoke or rotate a potentially compromised local privileged credential in Supabase CLI v2.120.0.

I need to preserve the existing PostgreSQL database and Docker volumes without running supabase db reset, deleting volumes, or recreating the stack destructively.

Could maintainers clarify:

  1. How to identify the type of locally generated credential without printing its value.
  2. Whether privileged API keys and JWT signing keys can be rotated independently.
  3. Whether in-place, non-destructive rotation is supported in v2.120.0.
  4. Which services need restarting and how to verify old credentials are rejected.
  5. Whether a supported CLI upgrade provides a safe alternative if v2.120.0 cannot do this.
  6. How to preserve data and safely roll back if the procedure fails.

No credentials, logs, or project-specific configuration are included for security reasons.

主要语言
TypeScript
星标
2.4k
派生
533
平均合并
22 小时 20 分钟
30 天内合并 PR
370

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

supabase/cli 的其他 Issue

查看 supabase/cli 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。