【发布时间】:2018-09-30 15:01:54
【问题描述】:
我想在 DynamoDB 中对我的生产表启用加密。根据他们在https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/encryption.tutorial.html#encryption.tutorial-cli 的文档,我只使用--sse-specification 标志;但是,它不能通过 CLI 工作
我从下面的文档中复制了他们的确切命令
aws dynamodb create-table \
--table-name Music \
--attribute-definitions \
AttributeName=Artist,AttributeType=S \
AttributeName=SongTitle,AttributeType=S \
--key-schema \
AttributeName=Artist,KeyType=HASH \
AttributeName=SongTitle,KeyType=RANGE \
--provisioned-throughput \
ReadCapacityUnits=10,WriteCapacityUnits=5 \
--sse-specification Enabled=true
使用他们的确切示例或任何其他人为设置,当从 CLI 运行时,我不断收到相同的错误消息
未知选项:--sse-specification, Enabled=true
是否可以从 CLI 中打开它?我看到的唯一另一种方法是从控制台手动创建每个表,并在创建期间勾选加密按钮
我的 AWS 版本是
aws-cli/1.14.1 Python/2.7.10 Darwin/17.5.0 botocore/1.8.32
【问题讨论】:
-
您使用的是什么版本的 CLI?
-
@KevinSeaman 也粘贴在原始问题中,aws-cli/1.14.1 Python/2.7.10 Darwin/17.5.0 botocore/1.8.32
标签: amazon-web-services amazon-dynamodb