Skip to content

Rename credentials load to put and add get subcommand#59

Merged
Michel Edkrantz (MichelEdkrantz) merged 5 commits intomasterfrom
credentials-put-get-commands
Feb 20, 2026
Merged

Rename credentials load to put and add get subcommand#59
Michel Edkrantz (MichelEdkrantz) merged 5 commits intomasterfrom
credentials-put-get-commands

Conversation

@MichelEdkrantz
Copy link
Copy Markdown
Member

Summary

  • Rename kognic-auth credentials load <file> to put <file>
  • Add kognic-auth credentials get [--env PROFILE] to read and print stored credentials from the keyring as JSON
  • Update error message in credentials_parser.py to reference the new put command name

Test plan

  • kognic-auth credentials put <file> stores credentials in keyring
  • kognic-auth credentials get prints stored credentials as JSON
  • kognic-auth credentials get --env <profile> reads the correct profile
  • kognic-auth credentials get exits with code 1 when no credentials are found
  • kognic-auth credentials clear still works as before

🤖 Generated with Claude Code

- Rename `kognic-auth credentials load` to `put`
- Add `kognic-auth credentials get [--env PROFILE]` to read and print stored credentials from the keyring as JSON
- Update error message in credentials_parser.py to reference `put`
- Update tests accordingly

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Comment thread src/kognic/auth/cli/credentials.py Dismissed
@MichelEdkrantz Michel Edkrantz (MichelEdkrantz) merged commit 65ece3e into master Feb 20, 2026
10 checks passed
@MichelEdkrantz Michel Edkrantz (MichelEdkrantz) deleted the credentials-put-get-commands branch February 20, 2026 16:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants