When creating a new env file, if you leave the file empty like so:
php artisan env:edit qa
:wq
then the errors out and throws exceptions due to a lack of a plaintext value to work with.
In WrappedHttpHandler.php line 191:
Error executing "Encrypt" on "https://kms.us-east-1.amazonaws.com"; AWS HTTP error: Client error: `POST https://kms.us-east-1.amazonaws.com` resulted in a `400 Bad Request` response:
{"__type":"ValidationException","message":"1 validation error detected: Value at 'plaintext' failed to satisfy constrain (truncated...)
ValidationException (client): 1 validation error detected: Value at 'plaintext' failed to satisfy constraint: Member must have length greater than or equal to 1 - {"__type":"ValidationException","message":"1 validation error detected:
Value at 'plaintext' failed to satisfy constraint: Member must have length greater than or equal to 1"}
In RequestException.php line 113:
Client error: `POST https://kms.us-east-1.amazonaws.com` resulted in a `400 Bad Request` response:
{"__type":"ValidationException","message":"1 validation error detected: Value at 'plaintext' failed to satisfy constrain (truncated...)
When creating a new env file, if you leave the file empty like so:
then the errors out and throws exceptions due to a lack of a plaintext value to work with.