Credentials Encryption
encrypt
Usage: xygeni util encrypt [-hV] [-o=OUTFILE] [@<filename>...] [YAML-file]
Encrypt secrets in the configuration file.
[@<filename>...] One or more argument files containing options.
[YAML-file] Path to xygeni.yml with secrets to encrypt.
If not given, the scanner's one will be used.
Use '-' or 'stdin' for reading from standard input.
-o, --output=OUTFILE Optional output file.
Defaults to the input YAML-file (or standard output).
Use '-' or 'stdout' for standard output.xygeni util encryptxygeni util encrypt --output=xygeni_prod.yml xygeni_base.yml# - at the end tells the command to read input from the standard input. cat my_secret.txt | xygeni util encrypt - {masked:TbI2wRZ1R6BCYrxQyKWkJJiLBWr0/+zqAZ8UXzQ4UTk=}
Last updated

