Skip to content

Persist CLI connection credentials#33

Open
jasanpe wants to merge 1 commit into
Permify:mainfrom
jasanpe:persist-cli-credentials
Open

Persist CLI connection credentials#33
jasanpe wants to merge 1 commit into
Permify:mainfrom
jasanpe:persist-cli-credentials

Conversation

@jasanpe
Copy link
Copy Markdown

@jasanpe jasanpe commented May 28, 2026

Summary

  • persist optional bearer token, TLS certificate path, and TLS certificate key path in the active profile config
  • use stored auth/TLS values when constructing the Permify gRPC client
  • collect the optional connection credentials during permctl configure before listing tenants
  • write the config file with owner-only permissions

Fixes #2

Tests

  • go test ./...
  • go vet ./...

/claim #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.

Endpoint, Token, Cert Path, and Cert Key Storage for CLI Tool

1 participant