Class EnvironmentCredentials
EnvironmentCredentials class.
Functions
aws:EnvironmentCredentials (opt) | Constructor, inherits from Credentials. |
Functions
- aws:EnvironmentCredentials (opt)
-
Constructor, inherits from Credentials.
Note: this class will fetch the credentials upon instantiation. So it can be instantiated in the
init
phase where there is still access to the environment variables. The standard prefixes AWS andAMAZON
are covered by theconfig
module, so in case those are used, only theconfig
module needs to be loaded in theinit
phase.Parameters:
- opt options table, additional fields to the Credentials class:
- envPrefix prefix to use when looking for environment variables, defaults to "AWS".
- opt options table, additional fields to the Credentials class: