File tree Expand file tree Collapse file tree 3 files changed +1
-16
lines changed
DynamoDBEncryption/src/item_encryptor Expand file tree Collapse file tree 3 files changed +1
-16
lines changed Original file line number Diff line number Diff line change 92
92
tox -e dynamodbencryption
93
93
# Run migration examples
94
94
# tox -e migration
95
-
Original file line number Diff line number Diff line change 21
21
- Partition key is named "partition_key" with type (S)
22
22
- Sort key is named "sort_key" with type (S)
23
23
"""
24
-
25
- import sys
26
24
from typing import Dict , Any
27
25
28
26
29
- import boto3
30
- from boto3 .dynamodb .types import Binary
31
- from decimal import Decimal
32
-
33
27
from aws_cryptographic_material_providers .mpl import AwsCryptographicMaterialProviders
34
28
from aws_cryptographic_material_providers .mpl .config import MaterialProvidersConfig
35
29
from aws_cryptographic_material_providers .mpl .models import (
36
- CreateAwsKmsMrkKeyringInput ,
37
30
CreateAwsKmsMrkMultiKeyringInput ,
38
31
DBEAlgorithmSuiteId ,
39
32
)
40
33
from aws_cryptographic_material_providers .mpl .references import IKeyring
41
34
from aws_dbesdk_dynamodb .smithygenerated .aws_cryptography_dbencryptionsdk_structuredencryption .models import (
42
35
CryptoAction ,
43
36
)
44
- from aws_dbesdk_dynamodb .smithygenerated .aws_cryptography_dbencryptionsdk_dynamodb .models import (
45
- DynamoDbTableEncryptionConfig ,
46
- DynamoDbTablesEncryptionConfig ,
47
- )
48
- from aws_dbesdk_dynamodb .encrypted .client import (
49
- EncryptedClient
50
- )
51
37
52
38
from aws_dbesdk_dynamodb .encrypted .item import (
53
39
ItemEncryptor ,
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ allowlist_externals = poetry
12
12
passenv = AWS_*
13
13
commands_pre =
14
14
poetry lock
15
- poetry install --with test
15
+ poetry install --with test --no-root
16
16
commands =
17
17
dynamodbencryption: {[testenv:base-command]commands} DynamoDBEncryption/test/
18
18
migration: {[testenv:base-command]commands} Migration/PlaintextToAWSDBE/test/
You can’t perform that action at this time.
0 commit comments