amzn / smoke-aws-credentials

A library to obtain and assume automatically rotating AWS IAM roles written in the Swift programming language.
Apache License 2.0
19 stars 14 forks source link

Conform AwsRotatingCredentialsProviderV2 to CredentialsProviderV2 #38

Closed tachyonics closed 11 months ago

tachyonics commented 11 months ago

Issue #, if available:

Description of changes:

Conform AwsRotatingCredentialsProviderV2 to CredentialsProviderV2. Use an actor to manage state and refresh credentials on demand if required.

Added unit tests to verify the main use cases for AwsRotatingCredentialsProviderV2.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.