putyourlightson/craft-secrets
Store and manage secrets in an encrypted file.
Maintainers
Package info
github.com/putyourlightson/craft-secrets
Type:craft-plugin
pkg:composer/putyourlightson/craft-secrets
Requires
- php: ^8.2
- craftcms/cms: ^5.0
Requires (Dev)
- craftcms/ecs: dev-main
- craftcms/phpstan: dev-main
Suggests
None
Provides
None
Conflicts
None
Replaces
None
mit 620ee807fa92a32a9d9093794646b2a75bd8145e
This package is auto-updated.
Last update: 2026-06-08 19:14:59 UTC
README
π Stable Version
π Total Downloads
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.
- Secrets are encrypted and cannot be revealed without the encryption key.
- 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.
- 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 Β»
License
This plugin is licensed for free under the MIT License.
Requirements
This plugin requires Craft CMS 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.
composer require putyourlightson/craft-secrets
Created by PutYourLightsOn.
