PHPackages                             jootop/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. [Utility &amp; Helpers](/categories/utility)
4. /
5. jootop/laravel-aws-secrets-manager

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

jootop/laravel-aws-secrets-manager
==================================

Use AWS Secrets manager to load environment variables for configuration.

11PHP

Since Nov 3Pushed 4y agoCompare

[ Source](https://github.com/jootop/laravel-aws-secrets-manager)[ Packagist](https://packagist.org/packages/jootop/laravel-aws-secrets-manager)[ RSS](/packages/jootop-laravel-aws-secrets-manager/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

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

[](#aws-secrets-manager)

[![Latest Version on Packagist](https://camo.githubusercontent.com/59d2f97fc131b4dec507f8c679f930975811b2a49eff3bd285875455949dc356/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f746170702f6c61726176656c2d6177732d736563726574732d6d616e616765722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/tapp/laravel-aws-secrets-manager)[![Build Status](https://camo.githubusercontent.com/62a5db7fd407fcc7b1622c0c1bfc18607312bc3e2c681f59d58497005c9651b6/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f746170702f6c61726176656c2d6177732d736563726574732d6d616e616765722f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/tapp/laravel-aws-secrets-manager)[![Quality Score](https://camo.githubusercontent.com/61e60fee783fd11079f6ebb7cb0a20aeb065dd55f1fafde14f4c65b2e849f0ff/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f746170702f6c61726176656c2d6177732d736563726574732d6d616e616765722e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/tapp/laravel-aws-secrets-manager)[![Total Downloads](https://camo.githubusercontent.com/5ae3345dcd1ca0622d07191502a8b91f29038a47291d34f8accf2097e1e54d94/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f746170702f6c61726176656c2d6177732d736563726574732d6d616e616765722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/tapp/laravel-aws-secrets-manager)

Manage environment secrets using AWS Secrets Manager.

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

[](#installation)

You can install the package via composer:

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

Publish Config:

```
php artisan vendor:publish --provider="Tapp\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

16

—

LowBetter than 5% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity28

Early-stage or recently created project

 Bus Factor1

Top contributor holds 54.9% 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/73d50181e786e9255c8220e0a3e32f710a3ce82e433bacc5c957caab41a07d8e?d=identicon)[jootop](/maintainers/jootop)

---

Top Contributors

[![swilla](https://avatars.githubusercontent.com/u/304159?v=4)](https://github.com/swilla "swilla (28 commits)")[![cwiggan](https://avatars.githubusercontent.com/u/1569958?v=4)](https://github.com/cwiggan "cwiggan (15 commits)")[![aburakovskiy](https://avatars.githubusercontent.com/u/1153385?v=4)](https://github.com/aburakovskiy "aburakovskiy (5 commits)")[![jootop](https://avatars.githubusercontent.com/u/57128773?v=4)](https://github.com/jootop "jootop (3 commits)")

### Embed Badge

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

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

###  Alternatives

[lizhichao/word

This is a participle library

59140.3k1](/packages/lizhichao-word)[rocket-labs/bloom-filter

Implementation of bloom filter

19121.9k](/packages/rocket-labs-bloom-filter)[mrssoft/yii2-sitemap

Yii2 sitemap extension

1123.9k1](/packages/mrssoft-yii2-sitemap)[pantheon-systems/site-audit-tool

Drush global extension to run Site Audit checks on Drush 8 and 9

1116.4k](/packages/pantheon-systems-site-audit-tool)[springimport/magento2-module-catalog-dropdown-sort

All sort options in dropdown in Catalog

103.8k](/packages/springimport-magento2-module-catalog-dropdown-sort)

PHPackages © 2026

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