Repository navigation
Conversation
passaro
requested a deployment
to
PR integration tests
November 19, 2026 22:52 — with
GitHub Actions
Waiting
passaro
force-pushed
the
sdk-m1/adopt-sdk-credential-rules
branch
from
November 20, 2026 00:43
046750c to
64f2db6
Compare
passaro
requested a deployment
to
PR integration tests
November 20, 2026 00:43 — with
GitHub Actions
Waiting
passaro
force-pushed
the
sdk-m1/adopt-sdk-credential-rules
branch
from
November 20, 2026 11:52
64f2db6 to
1a8e953
Compare
passaro
requested a deployment
to
PR integration tests
November 20, 2026 11:52 — with
GitHub Actions
Waiting
passaro
force-pushed
the
sdk-m1/adopt-sdk-credential-rules
branch
from
November 24, 2026 06:15
1a8e953 to
834fa09
Compare
passaro
requested a deployment
to
PR integration tests
November 24, 2026 06:15 — with
GitHub Actions
Waiting
passaro
force-pushed
the
sdk-m1/adopt-sdk-credential-rules
branch
from
November 24, 2026 15:22
834fa09 to
7e71275
Compare
passaro
requested a deployment
to
PR integration tests
November 24, 2026 15:22 — with
GitHub Actions
Waiting
The SDK credentials chain disables instance metadata only when `AWS_EC2_METADATA_DISABLED` is `true`, and requires `"Version": 1` in the output of a `credential_process` command, as the AWS CLI does. The CRT's chain disables instance metadata for any value but `false`, and ignores `Version`. Adopt the SDK's rules, and document the first in the configuration guide. Mountpoint's own instance metadata client, which detects the region and the instance type, follows the same rule, so that a value such as `1` doesn't disable instance metadata for one and not for the other. Signed-off-by: Alessandro Passaro <alexpax@amazon.com>
passaro
force-pushed
the
sdk-m1/adopt-sdk-credential-rules
branch
from
November 24, 2026 17:11
7e71275 to
fddbc1b
Compare
passaro
requested a deployment
to
PR integration tests
November 24, 2026 17:11 — with
GitHub Actions
Waiting
This branch is waiting to be deployed
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.
This change adopts two rules of the new chain that differ from Mountpoint's CRT chain:
AWS_EC2_METADATA_DISABLEDdisables instance metadata only when it istrue, as in the AWS SDKs. The CRT chain treats any value other thanfalseastrue, so a value such as1no longer disables it. Mountpoint's own instance metadata client, which detects the region and the instance type, follows the same rule, so that a value doesn't disable instance metadata for one and not for the other.truealso applies to profiles withcredential_source = Ec2InstanceMetadata, which the CRT's profile provider ignores.credential_processcommand must include"Version": 1, as the AWS CLI documents. The CRT chain ignores the field.The configuration guide documents the first rule, and the
mountpoint-s3changelog lists both. In the parity suite, the two scenarios become documented differences (📝), a new scenario records thecredential_sourcecase as one too, and only the two slow scenarios on static keys still have a known difference.Does this change impact existing behavior?
Yes:
AWS_EC2_METADATA_DISABLEDset to a value other thantrueorfalse, such as1, no longer stops Mountpoint from using instance metadata to detect the region and the instance type. For credentials, nothing uses the new chain yet.Does this change need a changelog entry? Does it require a version change?
Nested bullets in the
mountpoint-s3credentials entry, and an entry in themountpoint-s3-clientchangelog.By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license and I agree to the terms of the Developer Certificate of Origin (DCO).