sops-batch-0.4.0 is not a library.
sops-batch
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.
Configuration / Installation
- Create a
.sops.yaml
file that specifies what keys to use:
creation_rules:
- key_groups:
- pgp:
- "XXXXX"
- age:
- "XXXXX"
- Create a
.sops-batch.toml
file that specifies what files to act on:
= [
"foo.yaml",
"bar.json"
]
- Download and place
sops-batch
in your$PATH
.- Linux users download the
*-linux-gnu
version, or the*-linux-musl
version for a static binary. - MacOS users download the
*-apple-darwin
version. This should also work on M1. - Windows users download the
*-windows-gnu
version.
- Linux users download the
- Use it:
sops-batch -h
.
Examples
See the examples folder.
Update
sops-batch
includes a self-update feature, introduced in version 0.3.0
:
)
License
MPL-2.0, see LICENSE file for details.