Skip to content

Store and reuse CLI client credentials#43

Open
defgtyg wants to merge 6 commits into
Permify:mainfrom
defgtyg:main
Open

Store and reuse CLI client credentials#43
defgtyg wants to merge 6 commits into
Permify:mainfrom
defgtyg:main

Conversation

@defgtyg

@defgtyg defgtyg commented Jun 19, 2026

Copy link
Copy Markdown

Summary

  • add token and TLS certificate path fields to persisted CLI profile config
  • prompt for optional token/certificate paths during permctl configure
  • reuse stored endpoint, token, and TLS settings when creating the Permify gRPC client

Validation

  • Reviewed changed files through GitHub after web edits
  • Not run locally; changes were made through GitHub web UI without a local checkout

/claim #2

defgtyg added 5 commits June 19, 2026 20:50
Store token and TLS certificate paths alongside existing Permify endpoint and tenant configuration.
Load endpoint, token, and TLS certificate settings from CLI config during Permify client initialization.
Prompt for optional token and TLS certificate paths and save them into the active profile.
Use strings.HasPrefix when deriving TLS mode from the configured endpoint.
Keep client credential selection consistent when New receives an explicit endpoint override.
Persist token and certificate paths under ~/.permify/credentials while keeping endpoint and tenant in the existing config file.
@defgtyg

defgtyg commented Jun 19, 2026

Copy link
Copy Markdown
Author

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

1 participant