https://github.com/putyourlightson/craft-secrets
Store and manage secrets in an encrypted file.
https://github.com/putyourlightson/craft-secrets
Last synced: 10 months ago
JSON representation
Store and manage secrets in an encrypted file.
- Host: GitHub
- URL: https://github.com/putyourlightson/craft-secrets
- Owner: putyourlightson
- License: mit
- Created: 2021-06-28T16:11:40.000Z (almost 5 years ago)
- Default Branch: develop
- Last Pushed: 2024-04-08T13:54:13.000Z (about 2 years ago)
- Last Synced: 2024-11-29T11:07:52.304Z (over 1 year ago)
- Language: PHP
- Size: 30.3 KB
- Stars: 11
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.md
Awesome Lists containing this project
README
[]((https://packagist.org/packages/putyourlightson/craft-secrets))
[](https://packagist.org/packages/putyourlightson/craft-secrets)

# Secrets Plugin for Craft CMS
The Secrets plugin allows you to store and manage secrets in an encrypted file. There are some benefits to storing secrets this way, instead of the conventional approach of storing them as plaintext in the `.env` file.
1. Secrets are encrypted and cannot be revealed without the encryption key.
2. The encrypted file can be committed to your repository, meaning you avoid having to send secrets in plaintext to other developers. You also end up with a history of changes to the file.
3. If secrets change or are rotated then there is only one file that needs to be updated.

## Documentation
Learn more and read the documentation at [putyourlightson.com/plugins/secrets »](https://putyourlightson.com/plugins/secrets)
## License
This plugin is licensed for free under the MIT License.
## Requirements
This plugin requires [Craft CMS](https://craftcms.com/) 3.0.3 or later, or 4.0.0 or later, or 5.0.0 or later.
## Installation
To install the plugin, search for “Secrets” in the Craft Plugin Store, or install manually using composer.
```shell
composer require putyourlightson/craft-secrets
```
---
Created by [PutYourLightsOn](https://putyourlightson.com/).