mirror of
https://github.com/getsops/sops.git
synced 2026-02-05 12:45:21 +01:00
Note using the python library uses the older impl
This commit is contained in:
@@ -993,6 +993,10 @@ You can import sops as a module and use it in your python program.
|
||||
tree = sops.walk_and_decrypt(tree, sops_key)
|
||||
sops.write_file(tree, path=path, filetype=pathtype)
|
||||
|
||||
Note: this uses the previous implemenation of `sops` written in python,
|
||||
and so doesn't support newer features such as GCP-KMS.
|
||||
To use the current version, call out to `sops` using `subprocess.getoutput`
|
||||
|
||||
Showing diffs in cleartext in git
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
|
||||
Reference in New Issue
Block a user