Skip to content

Commit f66d6b8

Browse files
Note on the name of the configuration file
Making explicit that only files named `.sops.yaml` will be auto-discovered. And alternative names (like `.sops.yml`) need to be used with the `--config` flag. Converted from getsops/sops@ca66e3c Co-authored-by: Carlos Zubieta <1976312+ErraticMaker@users.noreply.github.com> Signed-off-by: Carlos Zubieta <1976312+ErraticMaker@users.noreply.github.com> Signed-off-by: Felix Fontein <felix@fontein.de>
1 parent 72231da commit f66d6b8

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

content/en/docs/_index.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -689,6 +689,9 @@ stored under a specific directory, like a `git` repository, you can
689689
create a `.sops.yaml` configuration file at the root directory to define
690690
which keys are used for which filename.
691691

692+
Note: The file needs to be named `.sops.yaml`. Other names (i.e. `.sops.yml`) won't be automatically
693+
discovered by sops. You'll need to pass the `--config .sops.yml` option for it to be picked up.
694+
692695
Let\'s take an example:
693696

694697
- file named **something.dev.yaml** should use one set of KMS A, PGP

0 commit comments

Comments
 (0)