Safe Haskell | None |
---|---|
Language | Haskell2010 |
Explicitly specify, or automatically retrieve your Amazon AWS security credentials from the underlying host.
Defaults
Specifying credentials
fromSession :: AccessKey -> SecretKey -> SecurityToken -> Auth Source
A session containing the access key, secret key, and a security token.
Retrieving credentials
data Credentials Source
Determines how authentication information is retrieved.
FromKeys AccessKey SecretKey | Explicit access and secret keys.
Note: you can achieve the same result purely by using |
FromSession AccessKey SecretKey SecurityToken | A session containing the access key, secret key, and a security token.
Note: you can achieve the same result purely by using |
FromProfile Text | An IAM Profile name to lookup from the local EC2 instance-data. |
FromEnv Text Text | Environment variables to lookup for the access and secret keys. |
Discover | Attempt to read the default access and secret keys from the environment, falling back to the first available IAM profile if they are not set. Note: This attempts to resolve http://instance-data rather than directly retrieving http://169.254.169.254 for IAM profile information to ensure the dns lookup terminates promptly if not running on EC2. |