Edit

opencenter secrets keys validate

Validate Age key configuration and SOPS setup

Synopsis

Validate Age key configuration and SOPS setup.

This command performs comprehensive validation of the SOPS configuration: • Checks Age key file existence and permissions • Validates Age key format and functionality • Tests SOPS encryption/decryption functionality • Verifies .sops.yaml configuration • Ensures all required tools are installed

Use this command to troubleshoot SOPS issues or verify configuration after key rotation or setup changes.

opencenter secrets keys validate [flags]

Options

      --config-file string   Path to SOPS configuration file (default ".sops.yaml")
      --dry-run              Show what would be done without making changes
  -h, --help                 help for validate
      --key-file string      Path to Age key file (default: ~/.config/sops/age/keys.txt)

SEE ALSO

  • opencenter_secrets_keys.md[opencenter secrets keys] - Manage SOPS encryption keys

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