https://github.com/bitsbeats/drone-vault-reposecrets
https://github.com/bitsbeats/drone-vault-reposecrets
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/bitsbeats/drone-vault-reposecrets
- Owner: bitsbeats
- License: apache-2.0
- Created: 2019-12-20T15:03:56.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2023-11-07T16:08:39.000Z (over 2 years ago)
- Last Synced: 2024-06-20T15:41:09.589Z (about 2 years ago)
- Language: Go
- Size: 3.03 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# drone-vault-reposecrets
A drone secret plugin that reads secrets based on a fixed path and repo name.
In contrast to the official vault extension this one expects a secret per repo. If you need access to multiple secrets, consider using the [original plugin][1] .
## Envionment
* `PLUGIN_SECRET`: plugin secret to communicate with drone
* `PLUGIN_LISTEN`: http listen address
* `VAULT_SECRET_PATH`: path to the vault secrets, e.g. `kv/drone/%s`, `%s` is replaces by the repo slug (**required**)
* `VAULT_ADDR`: vaults url (**required**)
* `VAULT_ROLE_ID`: role id for vault login (**required**)
* `VAULT_SECRET_ID`: secret id for vault login (**required**)
[1]: https://github.com/drone/drone-vault