Edit

opencenter secrets keys backup

Create backup of Age keys and SOPS configuration

Synopsis

Create a secure backup of Age keys and SOPS configuration.

This command creates a timestamped backup of the Age key file and .sops.yaml configuration. Backups are essential for disaster recovery and should be stored securely in a separate location from the primary keys.

The backup includes: • Age private key file • SOPS configuration (.sops.yaml) • Backup metadata with timestamp and creation details

opencenter secrets keys backup [flags]

Options

      --backup-dir string   Backup directory (default: ~/.config/sops/age/backups)
      --dry-run             Show what would be done without making changes
  -h, --help                help for backup
      --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