File tree Expand file tree Collapse file tree 6 files changed +12
-12
lines changed
examples/src/master_key_provider Expand file tree Collapse file tree 6 files changed +12
-12
lines changed Original file line number Diff line number Diff line change 1
1
# Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2
2
# SPDX-License-Identifier: Apache-2.0
3
3
"""
4
- This example is provided as a reference for users migrating away from master key providers.
5
- We recommend that all new use should use keyrings .
4
+ This example is intended to serve as reference material for users migrating away from master key providers.
5
+ We recommend using keyrings rather than master key providers .
6
6
For examples using keyrings, see the ``examples/src/keyrings`` directory.
7
7
8
8
The KMS master key provider uses any key IDs that you specify on encrypt,
Original file line number Diff line number Diff line change 1
1
# Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2
2
# SPDX-License-Identifier: Apache-2.0
3
3
"""
4
- This example is provided as a reference for users migrating away from master key providers.
5
- We recommend that all new use should use keyrings .
4
+ This example is intended to serve as reference material for users migrating away from master key providers.
5
+ We recommend using keyrings rather than master key providers .
6
6
For examples using keyrings, see the ``examples/src/keyrings`` directory.
7
7
8
8
This example shows how to configure and use a KMS master key provider with with CMKs in multiple regions.
Original file line number Diff line number Diff line change 1
1
# Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2
2
# SPDX-License-Identifier: Apache-2.0
3
3
"""
4
- This example is provided as a reference for users migrating away from master key providers.
5
- We recommend that all new use should use keyrings .
4
+ This example is intended to serve as reference material for users migrating away from master key providers.
5
+ We recommend using keyrings rather than master key providers .
6
6
For examples using keyrings, see the ``examples/src/keyrings`` directory.
7
7
8
8
This example shows how to configure and use a KMS master key with a single KMS CMK.
Original file line number Diff line number Diff line change 1
1
# Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2
2
# SPDX-License-Identifier: Apache-2.0
3
3
"""
4
- This example is provided as a reference for users migrating away from master key providers.
5
- We recommend that all new use should use keyrings .
4
+ This example is intended to serve as reference material for users migrating away from master key providers.
5
+ We recommend using keyrings rather than master key providers .
6
6
For examples using keyrings, see the ``examples/src/keyrings`` directory.
7
7
8
8
One use-case that we have seen customers need is
Original file line number Diff line number Diff line change 1
1
# Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2
2
# SPDX-License-Identifier: Apache-2.0
3
3
"""
4
- This example is provided as a reference for users migrating away from master key providers.
5
- We recommend that all new use should use keyrings .
4
+ This example is intended to serve as reference material for users migrating away from master key providers.
5
+ We recommend using keyrings rather than master key providers .
6
6
For examples using keyrings, see the ``examples/src/keyrings`` directory.
7
7
8
8
This examples shows how to configure and use a raw AES master key.
Original file line number Diff line number Diff line change 1
1
# Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2
2
# SPDX-License-Identifier: Apache-2.0
3
3
"""
4
- This example is provided as a reference for users migrating away from master key providers.
5
- We recommend that all new use should use keyrings .
4
+ This example is intended to serve as reference material for users migrating away from master key providers.
5
+ We recommend using keyrings rather than master key providers .
6
6
For examples using keyrings, see the ``examples/src/keyrings`` directory.
7
7
8
8
This example shows how to configure and use a raw RSA master key using a PEM-encoded RSA private key.
You can’t perform that action at this time.
0 commit comments