monde-sistemas / delphi-aws-ses

Delphi client for Amazon Simple Email Service (AWS SES)
MIT License
33 stars 9 forks source link

Get configuration from environment #4

Closed esasse closed 9 years ago

esasse commented 9 years ago

Following the implementation of official libraries, we should look for configuration from env vars, without removing the option to provide it in code when needed.

The env vars would be: AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY and AWS_REGION.

If you create the service without providing these configurations, the library should try to get it from the env vars.