Skip to content

Commit cb80152

Browse files
cleanup
1 parent 4ce31f6 commit cb80152

17 files changed

+0
-17
lines changed

examples/src/aws_kms_discovery_keyring_example.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@
3232
For more information on how to use KMS Discovery keyrings, see
3333
https://docs.aws.amazon.com/encryption-sdk/latest/developer-guide/use-kms-keyring.html#kms-keyring-discovery
3434
"""
35-
import sys
3635

3736
import boto3
3837
from aws_cryptographic_materialproviders.mpl import AwsCryptographicMaterialProviders

examples/src/aws_kms_discovery_multi_keyring_example.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@
2929
For more information on how to use KMS Discovery keyrings, see
3030
https://docs.aws.amazon.com/encryption-sdk/latest/developer-guide/use-kms-keyring.html#kms-keyring-discovery
3131
"""
32-
import sys
3332

3433
import boto3
3534
from aws_cryptographic_materialproviders.mpl import AwsCryptographicMaterialProviders

examples/src/aws_kms_keyring_example.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
For more information on how to use KMS keyrings, see
1818
https://docs.aws.amazon.com/encryption-sdk/latest/developer-guide/use-kms-keyring.html
1919
"""
20-
import sys
2120

2221
import boto3
2322
from aws_cryptographic_materialproviders.mpl import AwsCryptographicMaterialProviders

examples/src/aws_kms_mrk_discovery_keyring_example.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@
3434
For more information on how to use KMS Discovery keyrings, see
3535
https://docs.aws.amazon.com/encryption-sdk/latest/developer-guide/use-kms-keyring.html#kms-keyring-discovery
3636
"""
37-
import sys
3837

3938
import boto3
4039
from aws_cryptographic_materialproviders.mpl import AwsCryptographicMaterialProviders

examples/src/aws_kms_mrk_discovery_multi_keyring_example.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@
3636
For more information on how to use KMS Discovery keyrings, see
3737
https://docs.aws.amazon.com/encryption-sdk/latest/developer-guide/use-kms-keyring.html#kms-keyring-discovery
3838
"""
39-
import sys
4039

4140
import boto3
4241
from aws_cryptographic_materialproviders.mpl import AwsCryptographicMaterialProviders

examples/src/aws_kms_mrk_keyring_example.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@
2121
For more info on KMS MRK (multi-region keys), see the KMS documentation:
2222
https://docs.aws.amazon.com/kms/latest/developerguide/multi-region-keys-overview.html
2323
"""
24-
import sys
2524

2625
import boto3
2726
from aws_cryptographic_materialproviders.mpl import AwsCryptographicMaterialProviders

examples/src/aws_kms_mrk_multi_keyring_example.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@
2727
For more info on KMS MRK (multi-region keys), see the KMS documentation:
2828
https://docs.aws.amazon.com/kms/latest/developerguide/multi-region-keys-overview.html
2929
"""
30-
import sys
3130

3231
import boto3
3332
from aws_cryptographic_materialproviders.mpl import AwsCryptographicMaterialProviders

examples/src/aws_kms_multi_keyring_example.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@
3636
For more information on how to use Multi keyrings, see
3737
https://docs.aws.amazon.com/encryption-sdk/latest/developer-guide/use-multi-keyring.html
3838
"""
39-
import sys
4039

4140
import boto3
4241
from aws_cryptographic_materialproviders.mpl import AwsCryptographicMaterialProviders

examples/src/aws_kms_rsa_keyring_example.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
# For more information on how to use KMS keyrings, see
1515
# https://docs.aws.amazon.com/encryption-sdk/latest/developer-guide/use-kms-keyring.html
1616
"""
17-
import sys
1817

1918
import boto3
2019
from aws_cryptographic_materialproviders.mpl import AwsCryptographicMaterialProviders

examples/src/file_streaming_example.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@
2525
"""
2626
import filecmp
2727
import secrets
28-
import sys
2928

3029
from aws_cryptographic_materialproviders.mpl import AwsCryptographicMaterialProviders
3130
from aws_cryptographic_materialproviders.mpl.config import MaterialProvidersConfig

examples/src/hierarchical_keyring_example.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@
3131
This example also requires using a KMS Key. You need the following access on this key: -
3232
GenerateDataKeyWithoutPlaintext - Decrypt
3333
"""
34-
import sys
3534

3635
import boto3
3736
# Ignore missing MPL for pylint, but the MPL is required for this example

examples/src/migration_set_commitment_policy_example.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020
For more information on setting your commitment policy, see
2121
https://docs.aws.amazon.com/encryption-sdk/latest/developer-guide/concepts.html#commitment-policy
2222
"""
23-
import sys
2423

2524
import boto3
2625
from aws_cryptographic_materialproviders.mpl import AwsCryptographicMaterialProviders

examples/src/multi_keyring_example.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@
3737
https://docs.aws.amazon.com/encryption-sdk/latest/developer-guide/use-multi-keyring.html
3838
"""
3939
import secrets
40-
import sys
4140

4241
import boto3
4342
from aws_cryptographic_materialproviders.mpl import AwsCryptographicMaterialProviders

examples/src/raw_aes_keyring_example.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
2323
https://docs.aws.amazon.com/encryption-sdk/latest/developer-guide/use-raw-aes-keyring.html
2424
"""
2525
import secrets
26-
import sys
2726

2827
from aws_cryptographic_materialproviders.mpl import AwsCryptographicMaterialProviders
2928
from aws_cryptographic_materialproviders.mpl.config import MaterialProvidersConfig

examples/src/raw_rsa_keyring_example.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@
3333
For more information on how to use Raw RSA keyrings, see
3434
https://docs.aws.amazon.com/encryption-sdk/latest/developer-guide/use-raw-rsa-keyring.html
3535
"""
36-
import sys
3736

3837
from aws_cryptographic_materialproviders.mpl import AwsCryptographicMaterialProviders
3938
from aws_cryptographic_materialproviders.mpl.config import MaterialProvidersConfig

examples/src/required_encryption_context_cmm.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
on encrypt such that they will not be stored on the message, but WILL be included in the header signature.
77
On decrypt, the client MUST supply the key/value pair(s) that were not stored to successfully decrypt the message.
88
"""
9-
import sys
109

1110
import boto3
1211
# Ignore missing MPL for pylint, but the MPL is required for this example

examples/src/set_encryption_algorithm_suite_example.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@
3939
https://docs.aws.amazon.com/encryption-sdk/latest/developer-guide/use-raw-aes-keyring.html
4040
"""
4141
import secrets
42-
import sys
4342

4443
from aws_cryptographic_materialproviders.mpl import AwsCryptographicMaterialProviders
4544
from aws_cryptographic_materialproviders.mpl.config import MaterialProvidersConfig

0 commit comments

Comments
 (0)