PHPackages                             umn/laravel-aws-secrets-manager - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. umn/laravel-aws-secrets-manager

ActiveLibrary

umn/laravel-aws-secrets-manager
===============================

Use AWS Secrets manager to load environment variables for configuration.

25PHP

Since May 24Pushed 4y agoCompare

[ Source](https://github.com/umangnine/laravel-aws-secrets-manager)[ Packagist](https://packagist.org/packages/umn/laravel-aws-secrets-manager)[ RSS](/packages/umn-laravel-aws-secrets-manager/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependenciesVersions (1)Used By (0)

AWS Secrets Manager
===================

[](#aws-secrets-manager)

[![Latest Version on Packagist](https://camo.githubusercontent.com/a69aa8b678a6b9c7d15a8ac32b57f69ee1b2a5bca73f2a7f5e99470905798928/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f756d6e2f6c61726176656c2d6177732d736563726574732d6d616e616765722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/umn/laravel-aws-secrets-manager)[![Build Status](https://camo.githubusercontent.com/cf459d8e41e03ad8ab85bc48816a57e55a3de4a88cb6326dea6f589ca620e547/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f756d6e2f6c61726176656c2d6177732d736563726574732d6d616e616765722f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/umn/laravel-aws-secrets-manager)[![Quality Score](https://camo.githubusercontent.com/a5fa52343b2df4091135de21f747244ca42f522b4621a2347df59709eaa0f0f5/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f756d6e2f6c61726176656c2d6177732d736563726574732d6d616e616765722e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/umn/laravel-aws-secrets-manager)[![Total Downloads](https://camo.githubusercontent.com/51a0f03e22a17822afbe39fc6bbd8cbb31db05f2889b5823b0e1f3ea45d2d6dc/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f756d6e2f6c61726176656c2d6177732d736563726574732d6d616e616765722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/umn/laravel-aws-secrets-manager)

Manage environment secrets using AWS Secrets Manager.

Installation
------------

[](#installation)

You can install the package via composer:

```
composer require umn/laravel-aws-secrets-manager
```

Publish Config:

```
php artisan vendor:publish --provider="Umn\LaravelAwsSecretsManager\LaravelAwsSecretsManagerServiceProvider"

```

Usage
-----

[](#usage)

This package will try and load in secrets from AWS Secrets manager in any environment that is in the `enabled-environments` config array. It is recommended that caching is enabled to reduce round trips to AWS Secrets Manager.

Available env values:

```
AWS_DEFAULT_REGION
AWS_SECRETS_TAG_NAME=stage
AWS_SECRETS_TAG_VALUE=production
```

`AWS_SECRETS_TAG_NAME` and `AWS_SECRETS_TAG_VALUE` are used to pull down all the secrets that match the tag key/value.

### Setting up AWS Secrets

[](#setting-up-aws-secrets)

1. Store New Secret.
2. Select type of secret, one of AWS managed or other.
3. Enter Key/Value, the KEY should match a env variable.
4. Give it a secret name and description
5. Add a tag key/value (stage =&gt; production) is an example if you want to pull down all production secrets.

### Cache the config

[](#cache-the-config)

```
php artisan config:cache

```

### AWS Credentials

[](#aws-credentials)

Since this package utilizes the PHP AWS SDK the following .env values are used or credentials set ~/.aws/credentials.

```
AWS_ACCESS_KEY_ID
AWS_SECRET_ACCESS_KEY

```

[https://docs.aws.amazon.com/sdk-for-php/v3/developer-guide/guide\_credentials.html](https://docs.aws.amazon.com/sdk-for-php/v3/developer-guide/guide_credentials.html)

### Testing

[](#testing)

```
composer test
```

### Changelog

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

### Security

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

Credits
-------

[](#credits)

- [Steve Williamson](https://github.com/tapp)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

Laravel Package Boilerplate
---------------------------

[](#laravel-package-boilerplate)

This package was generated using the [Laravel Package Boilerplate](https://laravelpackageboilerplate.com).

Laravel Google App Engine (GAE) Datastore Secret Manager
--------------------------------------------------------

[](#laravel-google-app-engine-gae-datastore-secret-manager)

This package was heavily based off of the GAE package. [laravel-GAE-secret-manager](https://github.com/tommerrett/laravel-GAE-secret-manager).

###  Health Score

17

—

LowBetter than 6% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity29

Early-stage or recently created project

 Bus Factor1

Top contributor holds 54.1% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/a4a7496212130e49efabbf072bb92007eb9a1caf1a1e9654696f449944a7ba7a?d=identicon)[umangnine](/maintainers/umangnine)

---

Top Contributors

[![swilla](https://avatars.githubusercontent.com/u/304159?v=4)](https://github.com/swilla "swilla (20 commits)")[![cwiggan](https://avatars.githubusercontent.com/u/1569958?v=4)](https://github.com/cwiggan "cwiggan (15 commits)")[![umangnine](https://avatars.githubusercontent.com/u/89881?v=4)](https://github.com/umangnine "umangnine (2 commits)")

### Embed Badge

![Health badge](/badges/umn-laravel-aws-secrets-manager/health.svg)

```
[![Health](https://phpackages.com/badges/umn-laravel-aws-secrets-manager/health.svg)](https://phpackages.com/packages/umn-laravel-aws-secrets-manager)
```

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
