-
Notifications
You must be signed in to change notification settings - Fork 914
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
error loading config: no matching creation rules found when encryption with inline key parameters (eg: --age
--kms
)
#1790
Comments
I can't reproduce the issue in a clean directory: $ mkdir /tmp/reproduce
$ cd /tmp/reproduce
$ echo '{"test": "value"}' > mysecret.json
$ sops --version
sops 3.9.4 (latest)
$ sops --age=age1xxfdafu5j4e5z7y5l6my6x07vjuh6unxersnwne4etpvykheq9gsj003fv -e mysecret.json
{
"test": "ENC[AES256_GCM,data:nbFjo0s=,iv:a1bYzjEVI+yGMD7VNtFU3OgAl5QJ6tbRj1ofIjvIZNo=,tag:SuyEWzpjFBmGaBYLtWsDcg==,type:str]",
"sops": {
...
}
} Would you have something in your environment variables? env | grep -i sops |
I've already use it without any errors. Maybe i'm wrong although in |
Do you have a |
You're right. It's only throw error when there's I reproduce in below step Test casePrepare a directory for testing => Remove
|
Running following command in a directory doesn't contain
.sops.yaml
:got results:
This is clearly a bug since creation rules should not be required when specific key is provided.
Affect:
===
SOPS version:
sops 3.9.4
The text was updated successfully, but these errors were encountered: