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
initphase where there is still access to the environment variables. The standard prefixes AWS andAMAZONare covered by theconfigmodule, so in case those are used, only theconfigmodule needs to be loaded in theinitphase.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: