A EnvAWS retrieves credentials from the environment variables of the running process. EnvAWSironment credentials never expire. EnvAWSironment variables used: * Access Key ID: AWS_ACCESS_KEY_ID or AWS_ACCESS_KEY. * Secret Access Key: AWS_SECRET_ACCESS_KEY or AWS_SECRET_KEY. * Secret Token:
| 28 | // * Secret Access Key: AWS_SECRET_ACCESS_KEY or AWS_SECRET_KEY. |
| 29 | // * Secret Token: AWS_SESSION_TOKEN. |
| 30 | type EnvAWS struct { |
| 31 | retrieved bool |
| 32 | } |
| 33 | |
| 34 | // NewEnvAWS returns a pointer to a new Credentials object |
| 35 | // wrapping the environment variable provider. |
nothing calls this directly
no outgoing calls
no test coverage detected