Skip to content

Rename daemon_credential to credential_daemon; add socket_path - #3507

Merged
dscpinheiro merged 2 commits into
aws:feat/credential-daemon-providerfrom
GarrettBeatty:credential-daemon-key-rename
Nov 23, 2026
Merged

dscpinheiro merged 2 commits into
aws:feat/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.
  • Optional socket_path: on Aws::CredentialDaemonCredentials.new, checked before AWS_CREDENTIAL_DAEMON_SOCKET. An empty or relative path counts as unset, and a failed dial doesn't fall back to another location.
  • Test-case fixtures updated; the runner skips cases whose appliesTo doesn't include ruby.
  • The docs link now points to the AWS CLI User Guide's credential daemon page.

Tests: bundle exec rspec spec/aws/credential_daemon_credentials_spec.rb spec/aws/credential_provider_chain_spec.rb spec/aws/ini_parser_spec.rb spec/aws/shared_config_spec.rb in gems/aws-sdk-core passes (179 examples, 0 failures, 2 pending as before).

…ption

Follow the latest shared credential daemon settings:

- The shared config key is now credential_daemon. There is no alias, so a
  profile that sets only daemon_credential is not a credential daemon
  profile.
- CredentialDaemonCredentials takes an optional :socket_path, checked
  before AWS_CREDENTIAL_DAEMON_SOCKET. An empty or relative path counts as
  unset, and a failed dial does not try another location.
- Update the test case fixtures and skip cases that apply only to other
  SDKs.
@GarrettBeatty
GarrettBeatty marked this pull request as ready for review November 23, 2026 15:22
@GarrettBeatty
GarrettBeatty requested review from a team as code owners November 23, 2026 15:22
@GarrettBeatty
GarrettBeatty requested review from dscpinheiro and jterapin and removed request for a team November 23, 2026 15:22
@dscpinheiro
dscpinheiro requested review from richardwang1124 and sichanyoo and removed request for dscpinheiro and jterapin November 23, 2026 15:23
@dscpinheiro
dscpinheiro merged commit 1e6e3bf into aws:feat/credential-daemon-provider Nov 23, 2026
2 of 4 checks passed
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.

4 participants