---
name: "borg2-key"
section: "1"
platform: "linux"
package: "borgbackup2"
version: "2.0.0b19-1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/borg2-key"
---

# borg2-key(1)

Manage a keyfile or repokey of a repository

## NAME

borg-key - Manage a keyfile or repokey of a repository

## SYNOPSIS

```
borg [common options] key export ...
borg [common options] key import ...
borg [common options] key change-passphrase ...
borg [common options] key change-location ...
```

## SEE ALSO

*[borg-common(1)](/borg-common/1.md)*, *[borg-key-export(1)](/borg-key-export/1.md)*, *[borg-key-import(1)](/borg-key-import/1.md)*, *[borg-key-change-passphrase(1)](/borg-key-change-passphrase/1.md)*, *[borg-key-change-location(1)](/borg-key-change-location/1.md)*

## AUTHOR

The Borg Collective
