| Crates.io | sops-batch |
| lib.rs | sops-batch |
| version | 0.4.0 |
| created_at | 2023-09-06 19:20:23.363214+00 |
| updated_at | 2023-09-06 19:20:23.363214+00 |
| description | SOPS encryption / decryption batch tool |
| homepage | https://gitlab.com/LordGaav/sops-batch |
| repository | https://gitlab.com/LordGaav/sops-batch |
| max_upload_size | |
| id | 965594 |
| size | 86,136 |
Current version: 0.4.0
SOPS encryption / decryption batch tool
A wrapper around sops written in Rust, that allows bulk encryption, decryption or updating of keys, based on a configuration file.
.sops.yaml file that specifies what keys to use:creation_rules:
- key_groups:
- pgp:
- "XXXXX"
- age:
- "XXXXX"
.sops-batch.toml file that specifies what files to act on:files = [
"foo.yaml",
"bar.json"
]
sops-batch in your $PATH.
*-linux-gnu version, or the *-linux-musl version for a static binary.*-apple-darwin version. This should also work on M1.*-windows-gnu version.sops-batch -h.See the examples folder.
sops-batch includes a self-update feature, introduced in version 0.3.0:
$ sops-batch self-update
Checking target-arch... x86_64-unknown-linux-gnu
Checking current version... v0.0.0
Checking latest released version... v0.3.0
New release found! v0.0.0 --> v0.3.0
New release is *NOT* compatible
sops-batch release status:
* Current exe: ".../sops-batch"
* New exe release: "sops-batch_0.3.0_x86_64-unknown-linux-gnu"
* New exe download url: "https://gitlab.com/api/v4/projects/36884529/packages/generic/0.3.0/x86_64-unknown-linux-gnu/sops-batch"
The new release will be downloaded/extracted and the existing binary will be replaced.
Do you want to continue? [Y/n] y
Downloading...
[00:00:00] [========================================] 4.82MiB/4.82MiB (0s) Done
Extracting archive... Done
Replacing binary file... Done
Binary updated to version 0.3.0.
MPL-2.0, see LICENSE file for details.