mirror of
https://github.com/rudrankriyam/App-Store-Connect-CLI.git
synced 2026-04-25 15:45:48 +03:00
[PR #284] [MERGED] Keychain default credentials #410
Labels
No labels
bug
bug
documentation
enhancement
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/App-Store-Connect-CLI#410
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/rudrankriyam/App-Store-Connect-CLI/pull/284
Author: @cursor[bot]
Created: 1/29/2026
Status: ✅ Merged
Merged: 1/29/2026
Merged by: @rudrankriyam
Base:
fix/default-profile-config← Head:cursor/keychain-default-credentials-762d📝 Commits (1)
8403bd8Fix default credential lookup📊 Changes
1 file changed (+13 additions, -14 deletions)
View changed files
📝
internal/auth/keychain.go(+13 -14)📄 Description
Refactor default credential lookup to pass the correct key to
getCredentialsFromConfigand avoid duplicatedefaultName()calls.The original implementation for default key handling in
GetCredentialsWithSourcehad two issues: it passed an emptyprofiletogetCredentialsFromConfigeven when adefaultKeywas identified, relying on an internal fallback; and it redundantly calleddefaultName()(which loads config) twice in the same path. This fix addresses both by resolving the default key once at the start ofGetCredentialsWithSourceand using it consistently.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.