Edit

opencenter secrets decrypt

Decrypt secrets in YAML files

Synopsis

Decrypt secrets in YAML files using SOPS.

This command finds all SOPS-encrypted YAML files and decrypts them using the configured Age keys. By default, it creates backups of the encrypted files for safety.

The decryption process:

  1. Creates timestamped backups of encrypted files (unless --no-backup is set)

  2. Decrypts files using SOPS with configured Age keys

  3. Validates successful decryption

  4. Reports results and backup locations

Use this command when you need to decrypt secrets in your project.

opencenter secrets decrypt [flags]

Options

  -h, --help          help for decrypt
      --no-backup     Skip backup creation before decryption
      --path string   Path to search for files to decrypt (default ".")

SEE ALSO

  • opencenter_secrets.md[opencenter secrets] - Manage secrets across backends

Auto generated by spf13/cobra on 28-Apr-2026