How to use disconnect_custom_key_store method in localstack

Best Python code snippet using localstack_python

client.pyi

Source:client.pyi Github

copy

Full Screen

...286 the specified symmetric encryption KMS key.287 [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/1.24.58/reference/services/kms.html#KMS.Client.disable_key_rotation)288 [Show boto3-stubs documentation](https://vemel.github.io/boto3_stubs_docs/mypy_boto3_kms/client.html#disable_key_rotation)289 """290 def disconnect_custom_key_store(self, *, CustomKeyStoreId: str) -> Dict[str, Any]:291 """292 Disconnects the `custom key store293 <https://docs.aws.amazon.com/kms/latest/developerguide/custom-key-store-294 overview.html>`__ from its associated CloudHSM cluster.295 [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/1.24.58/reference/services/kms.html#KMS.Client.disconnect_custom_key_store)296 [Show boto3-stubs documentation](https://vemel.github.io/boto3_stubs_docs/mypy_boto3_kms/client.html#disconnect_custom_key_store)297 """298 def enable_key(self, *, KeyId: str) -> None:299 """300 Sets the key state of a KMS key to enabled.301 [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/1.24.58/reference/services/kms.html#KMS.Client.enable_key)302 [Show boto3-stubs documentation](https://vemel.github.io/boto3_stubs_docs/mypy_boto3_kms/client.html#enable_key)303 """304 def enable_key_rotation(self, *, KeyId: str) -> None:...

Full Screen

Full Screen

client.py

Source:client.py Github

copy

Full Screen

...36 def disable_key(self, KeyId: str):37 pass38 def disable_key_rotation(self, KeyId: str):39 pass40 def disconnect_custom_key_store(self, CustomKeyStoreId: str) -> Dict:41 pass42 def enable_key(self, KeyId: str):43 pass44 def enable_key_rotation(self, KeyId: str):45 pass46 def encrypt(self, KeyId: str, Plaintext: bytes, EncryptionContext: Dict = None, GrantTokens: List = None) -> Dict:47 pass48 def generate_data_key(self, KeyId: str, EncryptionContext: Dict = None, NumberOfBytes: int = None, KeySpec: str = None, GrantTokens: List = None) -> Dict:49 pass50 def generate_data_key_without_plaintext(self, KeyId: str, EncryptionContext: Dict = None, KeySpec: str = None, NumberOfBytes: int = None, GrantTokens: List = None) -> Dict:51 pass52 def generate_presigned_url(self, ClientMethod: str = None, Params: Dict = None, ExpiresIn: int = None, HttpMethod: str = None):53 pass54 def generate_random(self, NumberOfBytes: int = None, CustomKeyStoreId: str = None) -> Dict:...

Full Screen

Full Screen

Automation Testing Tutorials

Learn to execute automation testing from scratch with LambdaTest Learning Hub. Right from setting up the prerequisites to run your first automation test, to following best practices and diving deeper into advanced test scenarios. LambdaTest Learning Hubs compile a list of step-by-step guides to help you be proficient with different test automation frameworks i.e. Selenium, Cypress, TestNG etc.

LambdaTest Learning Hubs:

YouTube

You could also refer to video tutorials over LambdaTest YouTube channel to get step by step demonstration from industry experts.

Run localstack automation tests on LambdaTest cloud grid

Perform automation testing on 3000+ real desktop and mobile devices online.

Try LambdaTest Now !!

Get 100 minutes of automation test minutes FREE!!

Next-Gen App & Browser Testing Cloud

Was this article helpful?

Helpful

NotHelpful