Skip to content

feat: store endpoint/token/certs in config#24

Open
arisnachy wants to merge 2 commits into
Permify:mainfrom
arisnachy:bounty/issue-2-credential-storage
Open

feat: store endpoint/token/certs in config#24
arisnachy wants to merge 2 commits into
Permify:mainfrom
arisnachy:bounty/issue-2-credential-storage

Conversation

@arisnachy
Copy link
Copy Markdown

@arisnachy arisnachy commented May 11, 2026

Summary

  • store endpoint, token, cert path, and cert key per profile in ~/.permify/credentials
  • keep normal profile config free of connection secrets while retaining the selected tenant/profile workflow
  • load stored credentials into config.CliConfig before command clients are created
  • add focused config tests for separate credential writes, credential merging on load, and IsConfigured with credential-backed endpoints

Validation

  • go test ./...
  • go build -o C:\tmp\permctl-pr24-test.exe ./cmd/permctl
  • git diff --check

/claim #2

@arisnachy arisnachy force-pushed the bounty/issue-2-credential-storage branch from c6c84cd to 87191a2 Compare May 11, 2026 13:28
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