Ultimate access to all questions.
Upgrade Now 🚀
Sign in to unlock AI tutor
How can a developer securely store an access token for an EC2-based application, ensuring it's encrypted and accessible across AWS accounts with minimal management effort?
A
Utilize AWS Systems Manager Parameter Store with a KMS key, apply a cross-account access policy, and grant EC2 instances necessary permissions for token retrieval and decryption.
B
Employ AWS KMS for token encryption, store it in DynamoDB, and configure EC2 instances with permissions for DynamoDB access and token decryption.
C
Leverage AWS Secrets Manager with a KMS key, establish a cross-account access policy, and ensure EC2 instances have access to Secrets Manager for token decryption.
D
Use AWS KMS to encrypt the token, store it in an S3 bucket with a policy for cross-account access, and provide EC2 instances with S3 and KMS permissions for token retrieval and decryption.