Skip to content

feat: persist token and mTLS cert config#34

Open
minnhnh wants to merge 1 commit into
Permify:mainfrom
minnhnh:bounty/permify-cli-issue-2-config-auth
Open

feat: persist token and mTLS cert config#34
minnhnh wants to merge 1 commit into
Permify:mainfrom
minnhnh:bounty/permify-cli-issue-2-config-auth

Conversation

@minnhnh
Copy link
Copy Markdown

@minnhnh minnhnh commented May 29, 2026

Implements secure storage & retrieval of endpoint-related credentials for permctl.\n\n- Adds persistent config fields: token, cert_path, cert_key_path (YAML)\n- Prompts during permctl configure (token input masked)\n- Uses token interceptors for unary/stream RPCs\n- Adds optional mTLS when cert paths are provided\n- Adds env var overrides (PERMCTL_TOKEN, PERMCTL_CERT_PATH, PERMCTL_CERT_KEY_PATH, etc)\n- Writes config with 0600 permissions\n\nCloses #2

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.

1 participant