class Aws::Credentials::ContainerCredentialProvider

Overview

Resolving credential from task role in container.

https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-iam-roles.html

Included Modules

Defined in:

aws-credentials/provider/container_credential_provider.cr

Constructors

Instance Method Summary

Instance methods inherited from module Aws::Credentials::Provider

credentials : Credentials credentials, credentials? : Credentials | Nil credentials?, refresh : Nil refresh

Constructor Detail

def self.new(container_credential_url : String | Nil = nil) #

[View source]

Instance Method Detail

def credentials : Credentials #
Description copied from module Aws::Credentials::Provider

Resolving AWS::Credentials::Credentials.

Credential not resolvable then raise Aws::Credentials||MissingCredentials error.


[View source]