Open
Conversation
… enum, add missing error handling for some GetOptionValue lines
Contributor
|
@PingDavidR there seems to be a different changelog process between this repo and the PingOne Terraform repo - is this intended? |
…lue errors, add missing fallback for file storage checking, comment lines corrected
henryrecker-pingidentity
approved these changes
Feb 12, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Change Description
AuthStorageOptionduplicationStorageLocationto enumGetOptionValuelinesPerformXLoginmethods withininternal/commands/auth/credentials.goChange Characteristics
Checklist
All full (or complete) PRs that need review prior to merge should have the following box checked.
If contributing a partial or incomplete change (expecting the development team to complete the remaining work) please leave the box unchecked
Required SDK Upgrades
Testing
This PR has been tested with:
Shell Command(s)
Testing Results
Expand Results
=== RUN TestSaveTokenForMethod_FallsBackToFileWhenKeychainSaveFails --- PASS: TestSaveTokenForMethod_FallsBackToFileWhenKeychainSaveFails (0.00s) === RUN TestSaveTokenForMethod_UsesKeychainWhenAvailable --- PASS: TestSaveTokenForMethod_UsesKeychainWhenAvailable (0.00s) === RUN TestSaveTokenForMethod_WithKeychainDisabled --- PASS: TestSaveTokenForMethod_WithKeychainDisabled (0.00s) === RUN TestSaveTokenForMethod_WithKeychainEnabled use_keychain_test.go:86: Token saved to: keychain --- PASS: TestSaveTokenForMethod_WithKeychainEnabled (0.11s) === RUN TestShouldUseKeychain_Default use_keychain_test.go:226: Token saved with default settings to: keychain --- PASS: TestShouldUseKeychain_Default (0.12s) === RUN TestSaveTokenForMethod_FileStorageFallback use_keychain_test.go:346: Token saved - fallback test to: keychain --- PASS: TestSaveTokenForMethod_FileStorageFallback (0.12s) === RUN TestEnvironmentVariable_FileStorage --- PASS: TestEnvironmentVariable_FileStorage (0.00s) === RUN TestSaveTokenForMethod_StorageTypeNone --- PASS: TestSaveTokenForMethod_StorageTypeNone (0.00s) PASS ok github.com/pingidentity/pingcli/internal/commands/auth 0.702s