DETERMINISTIC_DECRYPT - Amazon Glue DataBrew
Amazon Web Services 文档中描述的 Amazon Web Services 服务或功能可能因区域而异。要查看适用于中国区域的差异,请参阅 中国的 Amazon Web Services 服务入门 (PDF)

DETERMINISTIC_DECRYPT

解密使用 DETERMINISTIC_ENCRYPT 加密的数据。

如果提供的密钥 ID 和版本与用于加密列的不匹配,则此转换不会产生任何效果。

参数
  • sourceColumns:现有列的数组。

  • secretId:用于解密源列的 Secrets Manager 密钥的 ARN。

  • secretVersion:可选。默认为最新的密钥版本。

示例

{ "sourceColumns": ["phonenumber"], "secretId": "arn:aws:secretsmanager:us-east-1:012345678901:secret:mysecret", "secretVersion": "adfe-1232-7563-3123" }

在交互式体验中工作时,除了项目的角色外,控制台用户还必须对提供的 Secrets Manager 密钥拥有 secretsmanager:GetSecretValue 权限。

示例策略:

JSON
{ "Version":"2012-10-17", "Statement": [ { "Effect": "Allow", "Action": [ "secretsmanager:GetSecretValue" ], "Resource": [ "arn:aws:secretsmanager:us-east-1:012345678901:secret:mysecret" ] } ] }