amazon-kms

Can a SSE:KMS Key ID be specified when writing to S3 in an AWS Glue Job?

瘦欲@ 提交于 2019-12-24 10:38:13
问题 If you follow the AWS Glue Add Job Wizard to create a script to write parquet files to S3 you end up with generated code something like this. datasink4 = glueContext.write_dynamic_frame.from_options( frame=dropnullfields3, connection_type="s3", connection_options={"path": "s3://my-s3-bucket/datafile.parquet"}, format="parquet", transformation_ctx="datasink4", ) Is it possible to specify a KMS key so that the data is encrypted in the bucket? 回答1: glue scala job val spark: SparkContext = new

How to derive a sign-in key for AWS Signature Version 4 (in ColdFusion)?

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-01 23:09:48
问题 I am trying to use ColdFusion to access Amazon Web Services (AWS) using their current authentication method known as Signature Version 4. I have consulted their documentation which has code examples for several programming languages, as well as pseudo-code for other languages. They provided some test input values to pass in to my script's signature function, and also some expected results. Here are the test inputs: key = 'wJalrXUtnFEMI/K7MDENG+bPxRfiCYEXAMPLEKEY' dateStamp = '20120215'

How to derive a sign-in key for AWS Signature Version 4 (in ColdFusion)?

扶醉桌前 提交于 2019-12-01 21:36:44
I am trying to use ColdFusion to access Amazon Web Services (AWS) using their current authentication method known as Signature Version 4. I have consulted their documentation which has code examples for several programming languages , as well as pseudo-code for other languages . They provided some test input values to pass in to my script's signature function, and also some expected results. Here are the test inputs: key = 'wJalrXUtnFEMI/K7MDENG+bPxRfiCYEXAMPLEKEY' dateStamp = '20120215' regionName = 'us-east-1' serviceName = 'iam' Here are the expected results: kSecret =