到Kinesis的Aurora数据库活动流仅包含加密记录

时间:2019-07-23 19:12:24

标签: amazon-kinesis amazon-rds-aurora

所以我正在运行一个Aurora活动流,它似乎创建了一个Kinesis流。我正在尝试通过以下命令使用aws cli工具读取流:

aws kinesis get-shard-iterator --shard-id shardId-000000000 --shard-iterator-type TRIM_HORIZON --stream-name <name of kinesis stream> --profile sandbox

 aws kinesis get-records --shard-iterator <some long iterator> --profile sandbox

我得到了这些记录:

{
            "SequenceNumber": "49597875247788584914892737302185155740598190697208610818",
            "ApproximateArrivalTimestamp": 1563908006.995,
            "Data": "eyJ0eXBlIjoiRGF0YWJhc2VBY3Rpdml0eU1vbml0b3JpbmdSZWNvcmRzIiwidmVyc2lvbiI6IjEuMCIsImRhdGFiYXNlQWN0aXZpdHlFdmVudHMiOiJBWUFEZUFZL21MOU9RaXhENXdYekZ2RGp1cTBBWHdBQkFCVmhkM010WTNKNWNIUnZMWEIxWW14cFl5MXJaWGtBUkVFdk0wcE5VVlF5VFN0dWNFSkNWakJJWm5ab1pFSmhkamxFVG10ck5uVjNVVlZ2Y1ZkbGVrVkliRkEwUjNJNFoxQTBTSGxSVkZsc1RtcGthRzlQVkZSc1p6MDlBQUVBQWtKREFCdEVZWFJoUzJWNUFBQUFnQUFBQUF5V2RsdDFuN3hYOUJtT0J0d0FNSTNIUEZlR0ZNdzZ4MTN5WnpOYk5GcFRaQkJBd3BYb0tDZ1BZaG95LzYyeVBWbEpTeFcyVEoyRHVITlFNQU80U1FJQUFBQUFEQUFBRUFBQUFBQUFBQUFBQUFBQUFBREc5UXdHUXByYWY1bUhlZ0h6UDg5by8vLy8vd0FBQUFFQUFBQUFBQUFBQUFBQUFBRUFBQUN0emZXbGY1WTk2NFA1ZkNLM2dRS01Sb29lejlqVXJYaWZHM3AvRnZ6QmlEWU1zaFRmTEJ5V1JIU2JrQWpVMXpwRkJFN0hjdTlhWVNLTTcrMXRVTTBER2c3UjVXdjFHZVpNRmN3aXJsOWZTR0svbnFWeUd4QktPMzVaVXlhVExSVGtwL281cFVDZE5JcEhGVmxQMFZ0bS9BNFQ1bVI5RWN4WWlMTTZ2SHZqNnJhbDNVZFU5bG5kdUliaXphNWRpb2RacHlhWS9NVm8rNlpFTnpzeEJieUVkVHJnUTBYV0JpZHRIbVdibHNvdW1EWDBwMUxscEpDNDZpaW5MWnhhQUdjd1pRSXhBSmNnR2dWNk5DMXVzZEkyWEs5Y0lXYW1qeVoyaWdzR0NRSDhqOGZ1bE5QSDkxVzJzd0pVM1dSWGN4NDg4cnpncGdJd09hbk9mcG45bGxNOEpmZUdUNWF0TEdNM1hFQkQ1Nmt5QmhjblFKNG84WnpwS0tMZzd0Z3Z4VEswOFlDSnhTWUkiLCJrZXkiOiJBUUlEQUhoUWduTUFpUDhURVEzL3Irbnh3ZVBQMlZPY0xtTUd2bUZYWDhvbTNoQ0N1Z0ZEZE9sWTJHMk0zcXd6bUJCQXVIdjFBQUFBZmpCOEJna3Foa2lHOXcwQkJ3YWdiekJ0QWdFQU1HZ0dDU3FHU0liM0RRRUhBVEFlQmdsZ2hrZ0JaUU1FQVM0d0VRUU0zQWtic2JhVGQ2RzdmcDd2QWdFUWdEdkRDNHhEWDhHL3A3aURQdms1MFpFUUMzU3ZuYzlKcWNhUUFmMnFYbDdLSXp4Q3AzU0J3clNtSi9JNXF4QUVIZ3JpS01JbTl5ZFpDa0U4K0E9PSJ9",
            "PartitionKey": "3d4393ba-04eb-4915-8fa1-8cdfc7803392"
        },
        {
            "SequenceNumber": "49597875247788584914892737302197244998794337332553056258",
            "ApproximateArrivalTimestamp": 1563908010.996,
            "Data": "eyJ0eXBlIjoiRGF0YWJhc2VBY3Rpdml0eU1vbml0b3JpbmdSZWNvcmRzIiwidmVyc2lvbiI6IjEuMCIsImRhdGFiYXNlQWN0aXZpdHlFdmVudHMiOiJBWUFEZU1FbkhYN0E4eVV3cVB2TTRDdmJxUndBWHdBQkFCVmhkM010WTNKNWNIUnZMWEIxWW14cFl5MXJaWGtBUkVGcmVtWl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DU3FHU0liM0RRRUhBVEFlQmdsZ2hrZ0JaUU1FQVM0d0VRUU0zQWtic2JhVGQ2RzdmcDd2QWdFUWdEdkRDNHhEWDhHL3A3aURQdms1MFpFUUMzU3ZuYzlKcWNhUUFmMnFYbDdLSXp4Q3AzU0J3clNtSi9JNXF4QUVIZ3JpS01JbTl5ZFpDa0U4K0E9PSJ9",
            "PartitionKey": "cc591855-a423-420c-93c3-87ae13c6cff6"
        },
  1. 为什么所有这些都在“数据”下加密? Aurora是这样做还是Kinesis?

  2. 如何解密数据?

0 个答案:

没有答案