# nu_plugin_kms

Nushell plugin for KMS operations with multiple backends.

## Backends

- **RustyVault**: Self-hosted Vault-compatible KMS
- **Age**: Local file-based encryption
- **Cosmian**: Privacy-preserving KMS
- **Fallback**: HTTP to KMS service

## Commands

- `kms encrypt <data> --backend <backend>` - Encrypt data
- `kms decrypt <encrypted> --backend <backend>` - Decrypt data
- `kms generate-key --spec <AES256|AES128>` - Generate data key
- `kms status` - Backend status

## Installation

```bash
cargo build --release
plugin add target/release/nu_plugin_kms
```
