class Aws::Credentials::InstanceMetadataProvider
- Aws::Credentials::InstanceMetadataProvider
- Reference
- Object
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.crConstructors
Instance Method Summary
-
#credentials : Credentials
Resolving
AWS::Credentials::Credentials
.
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/")
#
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.