Obscuro
Commands

obscuro set

Encrypt and store a secret

Usage

obscuro set KEY [flags]

Flags

FlagWhat it does
--valuePass the secret value inline
--value-fileRead value from a file (use - for stdin)

If you don't pass either flag, Obscuro prompts you interactively.

Examples

# Inline value
obscuro set DB_PASSWORD --value "s3cret"

# From a file
obscuro set TLS_CERT --value-file ./cert.pem

# From stdin
echo "token123" | obscuro set API_KEY --value-file -

# Interactive prompt
obscuro set SECRET_KEY

On this page