Skip to content

[Bug]: kion-cli is using ~/.kion/Kion-CLI Cache instead of macOS Keychain #90

@frielp

Description

@frielp

Kion CLI version (kion --version)

v0.10.0

Operating system/version

MacOS 15.3.2

Installation method

Built with Go 1.24.2

Describe the bug

When I build kion-cli 0.9.0 or 0.10.0 and run it on my mac 15.3.2 system it always uses the ~/.kion/Kion-CLI Cache file.

When I open my keychains and search for "Kion" in the default and system keychains I don't see it listed anywhere.

Steps To Reproduce

  1. Build kion-cli from 0.10.0 source
  2. Try to run kion-cli, allow the application in Privacy & Security (my system always blocks it by default)
  3. Set url, saml settings in ~/.kion.yml
  4. Run command like kion setenv --account=1234567890 --cloud-access-role=my-cloud-access-role-here
  5. Browser window opens as expected to complete SAML auth
  6. kion-cli now says "Enter passphrase to unlock /Users/pfriel/.kion"

Expected Behavior

Same as above but use built-in macOS keychain instead

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions