plugin-secretsmanager

command module
v0.0.0-...-60cb456 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 27, 2023 License: Apache-2.0 Imports: 13 Imported by: 0

README

Plugin Secrets Manager

This plugin integrates with external secrets manager

Secret Manager Plugin Doc

Publishing

# builds for linux/amd64 by default
PLUGIN_VERSION=vX.X.X make build
PLUGIN_VERSION=vX.X.X make publish

For testing purposes, like running the plugin locally for development:

GOOS=darwin GOARCH=arm64 PLUGIN_VERSION=vX.X.X make publish

Development

PLUGIN_NAME=secretsmanager
CONN=bash

# expect env: ENV_CONFIG='{"HOST": ""}'
hoop admin create conn $CONN --overwrite \
    -e HOST envjson:ENV_CONFIG:HOST
    -a test-agent -- bash

hoop admin create plugin $PLUGIN_NAME --overwrite \
    --source=path:/tmp/ \
    --connection "$CONN"

go build -o /tmp/$PLUGIN_NAME main.go

hoop exec $CONN -i 'env'

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL