aws kms connect-custom-key-store
Connects or reconnects a custom key store to its backing key store. AWS CLI reference
1 example 1 option Its page in the AWS CLI reference
Examples
To connect a custom key store
The following connect-custom-key-store example reconnects the specified custom key store. You can use a command like this one to connect a custom key store for the first time or to reconnect a key store that was disconnected.
You can use this command to connect an AWS CloudHSM key store or an external key store.
aws kms connect-custom-key-store --custom-key-store-id cks-1234567890abcdef0Identify--custom-key-store-idEnter the key store ID of the custom key store that you want to connect.This command produces no output. To verify that the command was effective, use the describe-custom-key-stores command.
For information about connecting an AWS CloudHSM key store, see Connecting and disconnecting an AWS CloudHSM key store in the AWS Key Management Service Developer Guide.
For information about connecting an external key store, see Connecting and disconnecting an external key store in the AWS Key Management Service Developer Guide.
Options
--custom-key-store-idEnter the key store ID of the custom key store that you want to connect.