Working with security configurations on the Amazon Glueconsole - Amazon Glue
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China.

Working with security configurations on the Amazon Glueconsole

A security configuration in Amazon Glue contains the properties that are needed when you write encrypted data. You create security configurations on the Amazon Glue console to provide the encryption properties that are used by crawlers, jobs, and development endpoints.

To see a list of all the security configurations that you have created, open the Amazon Glue console at https://console.amazonaws.cn/glue/ and choose Security configurations in the navigation pane.

The Security configurations list displays the following properties about each configuration:

Name

The unique name you provided when you created the configuration.

S3 encryption mode

If turned on, the Amazon Simple Storage Service (Amazon S3) encryption mode such as SSE-KMS or SSE-S3.

CloudWatch logs encryption mode

If turned on, the Amazon S3 encryption mode such as SSE-KMS.

Job bookmark encryption mode

If turned on, the Amazon S3 encryption mode such as CSE-KMS.

Date created

The date and time (UTC) that the configuration was created.

You can add or delete configurations in the Security configurations section on the console. To see more details for a configuration, choose the configuration name in the list. Details include the information that you defined when you created the configuration.

Adding a security configuration

To add a security configuration using the Amazon Glue console, on the Security configurations page, choose Add security configuration. The wizard guides you through setting the required properties.

To set up encryption of data and metadata with Amazon Key Management Service (Amazon KMS) keys on the Amazon Glue console, add a policy to the console user. This policy must specify the allowed resources as key Amazon Resource Names (ARNs) that are used to encrypt Amazon S3 data stores, as in the following example.

{ "Version": "2012-10-17", "Statement": { "Effect": "Allow", "Action": [ "kms:GenerateDataKey", "kms:Decrypt", "kms:Encrypt"], "Resource": "arn:aws-cn:kms:region:account-id:key/key-id"} }
Important

When a security configuration is attached to a crawler or job, the IAM role that is passed must have Amazon KMS permissions. For more information, see Encrypting data written by crawlers, jobs, and development endpoints.

When you define a configuration, you can provide values for the following properties:

S3 encryption

When you are writing Amazon S3 data, you use either server-side encryption with Amazon S3 managed keys (SSE-S3) or server-side encryption with Amazon KMS managed keys (SSE-KMS). This field is optional. To allow access to Amazon S3, choose an Amazon KMS key, or choose Enter a key ARN and provide the ARN for the key. Enter the ARN in the form arn:aws-cn:kms:region:account-id:key/key-id. You can also provide the ARN as a key alias, such as arn:aws-cn:kms:region:account-id:alias/alias-name.

Important

Amazon Glue supports only symmetric customer master keys (CMKs). The Amazon KMS key list displays only symmetric keys. However, if you select Choose a Amazon KMS key ARN, the console lets you enter an ARN for any key type. Ensure that you enter only ARNs for symmetric keys.

CloudWatch Logs encryption

Server-side (SSE-KMS) encryption is used to encrypt CloudWatch Logs. This field is optional. To turn it on, choose an Amazon KMS key, or choose Enter a key ARN and provide the ARN for the key. Enter the ARN in the form arn:aws-cn:kms:region:account-id:key/key-id. You can also provide the ARN as a key alias, such as arn:aws-cn:kms:region:account-id:alias/alias-name.

Job bookmark encryption

Client-side (CSE-KMS) encryption is used to encrypt job bookmarks. This field is optional. The bookmark data is encrypted before it is sent to Amazon S3 for storage. To turn it on, choose an Amazon KMS key, or choose Enter a key ARN and provide the ARN for the key. Enter the ARN in the form arn:aws-cn:kms:region:account-id:key/key-id. You can also provide the ARN as a key alias, such as arn:aws-cn:kms:region:account-id:alias/alias-name.

For more information, see the following topics in the Amazon Simple Storage Service User Guide: