secret

package module
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2020 License: MIT Imports: 7 Imported by: 0

README

exec-with-secret

Run commands with secrets from GCP Secret Manager. This program resolves environment variables that starts with secretmanager://.

Usage

$ NON_SECRET=not_secret SECRET=secretmanager://<PROJECT_NAME>/<SECRET_NAME>/<VERSION> ./exec-with-secret sh -c 'echo $NON_SECRET $SECRET'
not_secret very_important_secret

License

MIT

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InjectSecretToEnvironment

func InjectSecretToEnvironment() error

Types

This section is empty.

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

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