class Aws::Credentials::InstanceMetadataProvider

Overview

Resolving credential from instance metadata.

https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-metadata.html

Included Modules

Defined in:

aws-credentials/provider/instance_metadata_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(iam_security_credential_url : String = "http://169.254.169.254/latest/meta-data/iam/security-credentials/") #

[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]