chain property

The chain of AWSCredentialsProvider to iterate through.

retrieve attempts each provider, in order, until one is successful. If none are successful, an InvalidCredentialsException is thrown.

Implementation

@override
List<AWSCredentialsProvider> get chain => const [
      EnvironmentCredentialsProvider(),
      ProfileCredentialsProvider(),
      // TODO(dnys1): EC2 IMDS + ECS
    ];