manage-bap-backup

Manage BAP identity backups - list members, export member identities, and view backup details using the bap CLI. Works with encrypted .bep BAP identity files.

⭐5stars🔀1forks📁View on GitHub🕐Updated Jan 11, 2026

When & Why to Use This Skill

The Manage BAP Backup skill provides a streamlined interface for managing BAP identity backups via the bap CLI. It enables users to interact with encrypted .bep files to list member identities, export specific keys, and inspect backup metadata. This skill is designed to simplify complex identity management tasks, making it easier for developers and administrators to handle decentralized identity assets within a secure and automated workflow.

Use Cases

  • Identity Recovery: Quickly list and extract a specific member identity from a master .bep backup file when an individual user needs to recover their credentials.
  • Backup Auditing: Inspect the metadata and structure of encrypted identity backups to verify the count of identities and ensure backup integrity.
  • Identity Migration: Export specific member identities into separate backup files to facilitate the migration or distribution of individual identity assets.
  • Security Operations: Manage sensitive identity backups using environment-variable-based passphrases, ensuring secure handling of encrypted .bep files during administrative tasks.
namemanage-bap-backup
descriptionManage BAP identity backups - list members, export member identities, and view backup details using the bap CLI. Works with encrypted .bep BAP identity files.
allowed-tools"Bash(bun:*)"

Manage BAP Backup

Manage BAP identity backups using the bap CLI.

When to Use

  • List all member identities in a master BAP backup
  • Export a specific member identity to separate backup
  • View backup metadata and structure
  • Extract member keys for specific use cases

Operations

List Members: View all member identities in master backup Export Member: Extract a specific member to separate .bep file View Details: Show backup type, identity count, metadata

Usage

# List all members in backup
bun run /path/to/skills/manage-bap-backup/scripts/list.ts identity.bep

# Export specific member by index
bun run /path/to/skills/manage-bap-backup/scripts/export-member.ts identity.bep 0

# Export to custom output file
bun run /path/to/skills/manage-bap-backup/scripts/export-member.ts identity.bep 0 member-0.bep

Requirements

  • FLOW_BACKUP_PASSPHRASE environment variable
  • bap CLI installed globally

CLI Reference

# List members
bap list <backup.bep> --password <pass>

# Export member
bap member <backup.bep> --password <pass> --index <n> --output <output.bep>

# Export all members
bap export <backup.bep> --password <pass>