https://github.com/drone/drone-amazon-secrets
Drone plugin for integrating with the AWS Secrets Manager
https://github.com/drone/drone-amazon-secrets
Last synced: 5 months ago
JSON representation
Drone plugin for integrating with the AWS Secrets Manager
- Host: GitHub
- URL: https://github.com/drone/drone-amazon-secrets
- Owner: drone
- License: other
- Created: 2018-08-12T18:46:31.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2022-01-18T14:23:48.000Z (over 4 years ago)
- Last Synced: 2024-11-19T00:44:16.960Z (over 1 year ago)
- Language: Go
- Size: 29.3 KB
- Stars: 7
- Watchers: 5
- Forks: 14
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# drone-amazon-extension
A secret extension that provides optional support for sourcing secrets from the AWS Secrets Manager. _Please note this project requires Drone server version 1.3 or higher._
## Installation
Create a shared secret:
```text
$ openssl rand -hex 16
bea26a2221fd8090ea38720fc445eca6
```
Download and run the plugin:
```text
$ docker run -d \
--publish=3000:3000 \
--env=DEBUG=true \
--env=SECRET_KEY=bea26a2221fd8090ea38720fc445eca6 \
--env=AWS_ACCESS_KEY_ID=... \
--env=AWS_SECRET_ACCESS_KEY=... \
--restart=always \
--name=amazon-secrets drone/amazon-secrets
```
Update your Drone runner configuration to include the plugin address and the shared secret.
```text
DRONE_SECRET_PLUGIN_ENDPOINT=http://1.2.3.4:3000
DRONE_SECRET_PLUGIN_TOKEN=bea26a2221fd8090ea38720fc445eca6
```