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

Fathom Analytics | Fast, simple and privacy-focused website analytics. Fathom Analytics | Fast, simple and privacy-focused website analytics.
Achieve superior email deliverability with ToastMail! Our AI-driven tool warms up inboxes, monitors reputation, and ensures emails reach their intended destination. Sign up today for a spam-free future. Achieve superior email deliverability with ToastMail! Our AI-driven tool warms up inboxes, monitors reputation, and ensures emails reach their intended destination. Sign up today for a spam-free future.
Community Partners