Source: blog.deleu.dev

Using AWS KMS with Laravel

Category: Laravel, Laravel, AWS, AWS, MySQL, MySQL, api, api

AWS KMS is an incredible offering by AWS that manages encryption keys, automatic rotation and secure storage. With rotation enabled, AWS will generate a new encryption key once a year without deleting the previous keys.

We don't have access to the actual key, which means we can't leak it.

Then we have the key which should be the ARN of the AWS KMS key or Alias of the key to be used.

In other words, AWS KMS is responsible for encryption/decryption of the data and we should never roll our own encryption algorithms.
Newsletter

Get the latest Laravel/PHP jobs, events and curated articles straight to your inbox, once a week

Glimpse streamlines Laravel development by seamlessly deploying GitHub pull requests to preview environments with the help of Laravel Forge. Glimpse streamlines Laravel development by seamlessly deploying GitHub pull requests to preview environments with the help of Laravel Forge.
Fathom Analytics | Fast, simple and privacy-focused website analytics. Fathom Analytics | Fast, simple and privacy-focused website analytics.
Shirts painstakingly handcrafted by under-caffeinated developers. Shirts painstakingly handcrafted by under-caffeinated developers.
Community Partners