stechstudio / laravel-env-security

Securely manage Laravel .env files for different deployment environments
MIT License
75 stars 9 forks source link

InvalidArgumentException : Found 2 errors while validating the input provided for the Encrypt operation: [KeyId] is missing and is a required parameter [KeyId] expected string length to be >= 1, but found string length of 0 #29

Closed prasadguptapankaj closed 1 year ago

prasadguptapankaj commented 1 year ago

InvalidArgumentException : Found 2 errors while validating the input provided for the Encrypt operation: [KeyId] is missing and is a required parameter [KeyId] expected string length to be >= 1, but found string length of 0

jszobody commented 1 year ago

Sounds like you're missing config, yeah? This would make this the same issue you mentioned in #28 where all your package config is null.

I'm not sure how to help you. You need to troubleshoot why config values aren't present. And it might be something related to your old version of Laravel. If you were to create a fresh Laravel 10 app real quick, install this package, and have the same problem I would be very interested to hear.