Introduction to Secrets and Sensitive Data
Store and rotate secrets, discover sensitive data with Macie and mask it in logs and messages.
- 3 lessons
- Module quiz
Two kinds of data need particular care. Secrets, such as database passwords, API keys and tokens, give access to other systems, so they must be stored encrypted, retrieved by applications at run time rather than embedded in code, and rotated regularly. AWS Secrets Manager stores and rotates them, and Systems Manager Parameter Store holds configuration, including encrypted values.
Sensitive data, such as personally identifiable information (PII) and financial data, must first be found before it can be protected. Amazon Macie discovers it in S3, and masking features hide it in logs and messages from people and systems that do not need it.
What the exam expects
Questions test choosing between Secrets Manager and Parameter Store, configuring automatic rotation, sharing secrets across accounts, Macie discovery jobs and automated sensitive data discovery, and CloudWatch Logs data protection policies.
How this module is organised
Storing and Rotating Secrets with Secrets Manager and Parameter Store explains secret storage and rotation. Discovering Sensitive Data in S3 with Amazon Macie explains sensitive data discovery, and Masking Sensitive Data in Logs and Messages explains how sensitive values are hidden in logs and messages.