Reader small image

You're reading from  Mastering AWS Security - Second Edition

Product typeBook
Published inApr 2024
PublisherPackt
ISBN-139781805125440
Edition2nd Edition
Right arrow
Author (1)
Laurent Mathieu
Laurent Mathieu
author image
Laurent Mathieu

Laurent Mathieu is a seasoned Cybersecurity & AWS Cloud Consultant and Instructor with a rich history spanning two decades in cybersecurity across various domains and regions. He holds several professional qualifications, including ISC2 CISSP, ISACA CISM, CSA CCSK, as well as 6 AWS certifications. Over the past decade, he has developed a keen interest in cloud computing, particularly AWS cloud security. As an active member of the AWS Community Builder program since 2020, Laurent is at the forefront of AWS developments. He has developed various training materials and led multiple webinars and bootcamps on AWS and security. Besides his instructional work, Laurent provides AWS consulting services to various startups and SaaS providers.
Read more about Laurent Mathieu

Right arrow

Conventions used

There are a number of text conventions used throughout this book.

Code in text: Indicates code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles. Here is an example: “Apply these universally across AWS services, such as using aws:MultiFactorAuthPresent to verify MFA status for resource access.”

A block of code is set as follows:

from aws_encryption_sdk import KMSMasterKeyProvider, encrypt
key_provider = KMSMasterKeyProvider(key_ids=[
  'arn:aws:kms:us-east-1:012345678912:key/abcd1234-a123-456a-a12b-a123b4cd56ef'
])
plaintext = 'This is a plaintext message.'
ciphertext, encryptor_header = encrypt(
    source=plaintext,
    key_provider=key_provider
)
print(f'Ciphertext: {ciphertext}')

Tips or important notes

Appear like this.

lock icon
The rest of the page is locked
Previous PageNext Page
You have been reading a chapter from
Mastering AWS Security - Second Edition
Published in: Apr 2024Publisher: PacktISBN-13: 9781805125440

Author (1)

author image
Laurent Mathieu

Laurent Mathieu is a seasoned Cybersecurity & AWS Cloud Consultant and Instructor with a rich history spanning two decades in cybersecurity across various domains and regions. He holds several professional qualifications, including ISC2 CISSP, ISACA CISM, CSA CCSK, as well as 6 AWS certifications. Over the past decade, he has developed a keen interest in cloud computing, particularly AWS cloud security. As an active member of the AWS Community Builder program since 2020, Laurent is at the forefront of AWS developments. He has developed various training materials and led multiple webinars and bootcamps on AWS and security. Besides his instructional work, Laurent provides AWS consulting services to various startups and SaaS providers.
Read more about Laurent Mathieu