Skip to content

AWS Iot v1 updateCredentials API alternative #311

Answered by bretambrose
mogambo100 asked this question in Q&A
Discussion options

You must be logged in to vote

The v2 SDK uses credentials providers and/or credentials provider chains (https://github.com/awslabs/aws-crt-java/tree/main/src/main/java/software/amazon/awssdk/crt/auth/credentials) so that you don't need to manage credential acquisition or refresh. The default provider chain (Environment -> Profile -> STS Web Identity -> ECS/IMDS) is often sufficent in many instances, but other providers exist to cover additional use cases (X509 for example). If you have a credential sourcing use case that isn't covered by the existing providers, feel free to create a discussion with a request to add support.

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
2 replies
@mogambo100
Comment options

@bretambrose
Comment options

Answer selected by jmklix
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants