Data Protection in AWS OpsWorks CM
The AWS shared responsibility model
For data protection purposes, we recommend that you protect AWS account credentials and set up individual users with AWS IAM Identity Center or AWS Identity and Access Management (IAM). That way, each user is given only the permissions necessary to fulfill their job duties. We also recommend that you secure your data in the following ways:
-
Use multi-factor authentication (MFA) with each account.
-
Use SSL/TLS to communicate with AWS resources. We require TLS 1.2 and recommend TLS 1.3.
-
Set up API and user activity logging with AWS CloudTrail. For information about using CloudTrail trails to capture AWS activities, see Working with CloudTrail trails in the AWS CloudTrail User Guide.
-
Use AWS encryption solutions, along with all default security controls within AWS services.
-
Use advanced managed security services such as Amazon Macie, which assists in discovering and securing sensitive data that is stored in Amazon S3.
-
If you require FIPS 140-3 validated cryptographic modules when accessing AWS through a command line interface or an API, use a FIPS endpoint. For more information about the available FIPS endpoints, see Federal Information Processing Standard (FIPS) 140-3
.
We strongly recommend that you never put confidential or sensitive information, such as your customers' email addresses, into tags or free-form text fields such as a Name field. This includes when you work with OpsWorks CM or other AWS services using the console, API, AWS CLI, or AWS SDKs. Any data that you enter into tags or free-form text fields used for names may be used for billing or diagnostic logs. If you provide a URL to an external server, we strongly recommend that you do not include credentials information in the URL to validate your request to that server.
The names of OpsWorks CM servers are not encrypted.
OpsWorks CM collects the following customer data in the course of creating and maintaining your AWS OpsWorks for Chef Automate and AWS OpsWorks for Puppet Enterprise servers.
-
For OpsWorks for Puppet Enterprise, we collect private keys that Puppet Enterprise uses to enable communication between your Puppet master and managed nodes.
-
For AWS OpsWorks for Chef Automate, we collect private keys for certificates that you attach to the service if you are using a custom domain. The private key that you provide when you are creating a Chef Automate server with a custom domain is passed through to your server.
OpsWorks CM servers store your configuration code, such as Chef cookbooks or Puppet
Enterprise modules. Though this code is stored in server backups, AWS does not have
access to it. This content is encrypted, and only administrators in your AWS account
can access it. We recommend that you secure your Chef or Puppet configuration code using
recommended protocols for your source repositories. For example, you can restrict permissions to repositories in AWS CodeCommit, or
follow guidelines on the GitHub website for securing GitHub repositories
OpsWorks CM does not use customer-provided content to maintain the service, or keep customer logs. Logs about your OpsWorks CM servers are stored in your account, in Amazon S3 buckets. IP addresses of users who connect to your OpsWorks CM servers are logged by AWS.
Integration with AWS Secrets Manager
Starting May 3, 2021, when you create a new server in OpsWorks CM, OpsWorks CM stores secrets for the server in AWS Secrets Manager. For new servers, the following attributes are stored as secrets in Secrets Manager.
-
Chef Automate server
-
HTTPS private key (only servers that do not use a custom domain)
-
Chef Automate administrative password (CHEF_AUTOMATE_ADMIN_PASSWORD)
-
-
Puppet Enterprise master
-
HTTPS private key (only servers that do not use a custom domain)
-
Puppet administrative password (PUPPET_ADMIN_PASSWORD)
-
Puppet r10k remote (PUPPET_R10K_REMOTE)
-
For existing servers that do not use a custom domain, the only secret stored in Secrets Manager, for both Chef Automate and Puppet Enterprise servers, is the HTTPS private key, because this is generated during automatic, weekly system maintenance.
OpsWorks CM stores secrets in Secrets Manager automatically, and this behavior is not user-configurable.