Skip to content

Rename daemon_credential to credential_daemon; add aws.credentialDaemonSocket - #7575

Draft
GarrettBeatty wants to merge 2 commits into
aws:alexwoo/add-credential-daemon-providerfrom
GarrettBeatty:credential-daemon-key-rename
Draft

GarrettBeatty wants to merge 2 commits into
aws:alexwoo/add-credential-daemon-providerfrom
GarrettBeatty:credential-daemon-key-rename

Conversation

@GarrettBeatty

@GarrettBeatty GarrettBeatty commented Nov 20, 2026 •

Copy link
Copy Markdown

This updates the credential daemon provider to the latest shared settings:

  • The shared config key is now credential_daemon (previously daemon_credential). No alias, since the provider hasn't shipped.
  • The socket path can also be set with the aws.credentialDaemonSocket system property, checked before AWS_CREDENTIAL_DAEMON_SOCKET. It applies only when set to an absolute path; empty or relative counts as unset. A set path with nothing listening fails with NOT_RUNNING and doesn't fall back to a later location. The property is read on its own (not through the paired property/env lookup), so an empty or relative property doesn't hide the environment variable.
  • Optional socketPath(Path) on the CredentialDaemonCredentialsProvider builder, checked first, with the same rules.
  • The docs link now points to the AWS CLI User Guide's credential daemon page.

Tests: ./mvnw test -pl core/profiles,core/auth (with checkstyle) passes, and so do SsoOidcProfileTokenProviderFactoryTest and CredentialDaemonClientCallTest in services/ssooidc and services/sts.

…onSocket

Update the credential daemon provider to the latest shared settings:

- The shared config key is now credential_daemon (previously
  daemon_credential), with no alias.
- The socket path can be set with the aws.credentialDaemonSocket system
  property, checked before AWS_CREDENTIAL_DAEMON_SOCKET. It applies only
  when set to an absolute path; an empty or relative value counts as
  unset, and a failed dial does not fall back to another location.
- Add an optional socketPath(Path) to the provider builder, checked first,
  with the same rules.

This branch has not been deployed

No deployments
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.

1 participant