Looking to hire Laravel developers? Try LaraJobs

laravel-aws-secrets maintained by jonlink

Description
Laravel specific library for jonlink microservices
Last update
2024/12/09 17:15 (dev-main)
Links
Downloads
2

Comments
comments powered by Disqus

AWS Laravel Secrets

This is just a tiny and basic helper package to work with Secrets in AWS.

Install

Download the package or use composer: composer require jonlink/laravel-aws-secrets

Usage

To use this you will need to have AWS credentials. Typically a secret would be created manually and then rotated via a Laravel schedule.

Create a secret

Secrets can created from the AwsSecrets class programmatically, or through the console command:

aws-secret:create {your-secret-name} {optional-secret-value}

Get a secret

Secrets can retrieved from the AwsSecrets class programmatically, or through the console command:

aws-secret:get {your-secret-name}

Rotate a secret

Secrets can be rotated via a console command:

aws-secret:rotate {your-secret-name} {optional-secret-value}

notes:

  • In all cases if you do not choose a secret value, one will be generated automatically.