Problem/Motivation

The preferred way of passing key/secret credentials to the AWS SDK is via environment variables or IAM roles, rather than explicitly declaring the key/secret in configuration (e.g. $conf).
See http://docs.aws.amazon.com/aws-sdk-php/guide/latest/credentials.html

Proposed resolution

Allow checkbox for I am using environment variables or IAM roles to manage my key/secret.

Remaining tasks

Review

User interface changes

New checkbox - see screenshots.

Default - unchecked

Default - checked

API changes

None

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

larowlan’s picture

Status: Active » Needs review
larowlan’s picture

FileSize
4.74 KB
larowlan’s picture

kim.pepper’s picture

Status: Needs review » Reviewed & tested by the community

Looks good.

deviantintegral’s picture

Yay, tests!

Do you mind opening this as a PR over at github? I've got it wired up to travis for phpunit and code coverage.

larowlan’s picture

Still need to send the PR, but this allows submitting of the admin form, which uses its own credentials

larowlan’s picture

deviantintegral’s picture

Status: Reviewed & tested by the community » Needs work