Skip to content

docs: document CLI keyring-backed session storage#309

Open
mintlify[bot] wants to merge 1 commit into
mainfrom
mintlify/d6008e32
Open

docs: document CLI keyring-backed session storage#309
mintlify[bot] wants to merge 1 commit into
mainfrom
mintlify/d6008e32

Conversation

@mintlify
Copy link
Copy Markdown
Contributor

@mintlify mintlify Bot commented Jun 2, 2026

Summary

Document that the Porter CLI now stores session tokens in the operating system's secure credential store instead of porter.yaml.

Changes

  • standard/cli/command-reference/porter-config.mdx: Added a "Credential Storage" section covering supported OS backends, automatic migration from older configs, and the headless PORTER_KEYRING_PASSWORD fallback. Updated --show-token to note it now also reveals values fetched from the keyring.
  • cli/basic-usage.mdx: Added a short "Credential Storage" callout linking to the full reference, and listed PORTER_KEYRING_PASSWORD in the environment variables table.

Context

Upstream PR introduces a keyring-backed session store. On login, access and refresh tokens are written to macOS Keychain, Windows Credential Manager, GNOME Secret Service, or KWallet (with an encrypted file fallback at ~/.porter/keyring for headless environments). Existing plaintext tokens in porter.yaml are migrated to the keyring on first run after upgrading and removed from disk. The --show-token flag now hydrates the printed config with the keyring values so it still surfaces real credentials.

cc @dgtown for review.

@mintlify
Copy link
Copy Markdown
Contributor Author

mintlify Bot commented Jun 2, 2026

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
porter 🟢 Ready View Preview Jun 2, 2026, 5:26 PM

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.

0 participants