The secret key is required for decrypting and editing existing files because SOPS computes a MAC on all values.
The secret key is required for decrypting and editing existing files because SOPS computes a MAC on all values.
When using solely the public key to add or remove a field, the whole file should be deleted and recreated.
When using solely the public key to add or remove a field, the whole file should be deleted and recreated.
## Configure the git directory for encryption
## Configure the Git directory for encryption
Write a [sops config file](https://github.com/mozilla/sops#using-sops-yaml-conf-to-select-kms-pgp-for-new-files) to the specific cluster or namespace directory used
Write a [SOPS config file](https://github.com/mozilla/sops#using-sops-yaml-conf-to-select-kms-pgp-for-new-files) to the specific cluster or namespace directory used
to store encrypted objects with this particular GPG key's fingerprint.
to store encrypted objects with this particular GPG key's fingerprint.
```yaml
```yaml
@ -129,7 +129,7 @@ creation_rules:
```
```
This config applies recursively to all sub-directories.
This config applies recursively to all sub-directories.
Multiple directories can use separate sops configs.
Multiple directories can use separate SOPS configs.
Contributors using the `sops` CLI to create and encrypt files
Contributors using the `sops` CLI to create and encrypt files
won't have to worry about specifying the proper key for the target cluster or namespace.
won't have to worry about specifying the proper key for the target cluster or namespace.