Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for account ID to AWS credentials #303

Open
2 tasks
jbelkins opened this issue Dec 11, 2024 · 0 comments
Open
2 tasks

Add support for account ID to AWS credentials #303

jbelkins opened this issue Dec 11, 2024 · 0 comments
Labels
feature-request A feature should be added or improved. needs-triage This issue or PR still needs to be triaged.

Comments

@jbelkins
Copy link
Contributor

Describe the feature

Account ID-based endpoints requires the resolution and passing of AWS account ID along with AWS credentials. The current aws-crt-swift implementation of AWS credentials does not have a field for account ID.

Account ID should be resolved when it is available along with AWS credentials. AWS credential resolution should never fail due to failure to resolve AWS account ID. Separate tickets will be filed to add AWS account ID resolution to certain other AWS credential resolvers.

To allow for testing of downstream work, please add support for the account ID field to the static credential resolver.

Use Case

To allow for the implementation of account ID-based endpoints in the AWS SDK for Swift.

Proposed Solution

Add account ID as an optional string-typed field on the underlying C implementation of AWS credentials, and add account ID support to Swift bindings (initializers, accessors, etc) to allow for use of the field.

Other Information

No response

Acknowledgements

  • I may be able to implement this feature request
  • This feature might incur a breaking change
@jbelkins jbelkins added needs-triage This issue or PR still needs to be triaged. feature-request A feature should be added or improved. labels Dec 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request A feature should be added or improved. needs-triage This issue or PR still needs to be triaged.
Projects
None yet
Development

No branches or pull requests

1 participant