Skip to content

error loading config: no matching creation rules found when encryption with inline key parameters (eg: --age --kms) #1790

@yunerou

Description

@yunerou

Running following command in a directory doesn't contain .sops.yaml:

sops --age=age1xxfdafu5j4e5z7y5l6my6x07vjuh6unxersnwne4etpvykheq9gsj003fv -e mysecret.json

got results:

error loading config: no matching creation rules found

This is clearly a bug since creation rules should not be required when specific key is provided.

Affect:

  • It's not back-compatible with old shell script that using env_var then for loop all files in dir to encrypt

===
SOPS version: sops 3.9.4

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions