AWS Secrets Manager
This Drupal module adds a new key provider for the Key module - it allows you to encrypt data using AWS Secrets Manager.
Get Started
This guide assumes you have an AWS account and working knowledge of AWS Secrets Manager and IAM, and the following resources provisioned in AWS.
- One or more secrets
- An IAM user with privileges to access the relevant secrets
Ensure this module and its dependencies are available in your codebase.
Enable the AWS Secrets Manager module and create a key.
AWS Credentials
There are alternatives to configuring the AWS credentials in the admin form.
settings.php
$config['aws_secrets_manager.settings']['aws_key'] = 'foo';
$config['aws_secrets_manager.settings']['aws_secret'] = 'bar';
If you do not explicitly set AWS key and secret in config, it will fall back to:
- IAM Instance Profile
- Exported credentials in environment variables
- The default profile in a ~/.aws/credentials file
See the AWS SDK Guide on Credentials.
Project information
- Project categories: Security
541 sites report using this module
- Created by nicksanta on , updated
Stable releases for this project are covered by the security advisory policy.
Look for the shield icon below.
