Best Python code snippet using localstack_python
client.pyi
Source:client.pyi
...158 Creates a friendly name for a KMS key.159 [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/1.24.58/reference/services/kms.html#KMS.Client.create_alias)160 [Show boto3-stubs documentation](https://vemel.github.io/boto3_stubs_docs/mypy_boto3_kms/client.html#create_alias)161 """162 def create_custom_key_store(163 self,164 *,165 CustomKeyStoreName: str,166 CloudHsmClusterId: str = None,167 TrustAnchorCertificate: str = None,168 KeyStorePassword: str = None169 ) -> CreateCustomKeyStoreResponseTypeDef:170 """171 Creates a `custom key store172 <https://docs.aws.amazon.com/kms/latest/developerguide/custom-key-store-173 overview.html>`__ that is associated with an `CloudHSM cluster174 <https://docs.aws.amazon.com/cloudhsm/latest/userguide/clusters.html>`__ that175 you own and manage.176 [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/1.24.58/reference/services/kms.html#KMS.Client.create_custom_key_store)...
client.py
Source:client.py
...14 def connect_custom_key_store(self, CustomKeyStoreId: str) -> Dict:15 pass16 def create_alias(self, AliasName: str, TargetKeyId: str):17 pass18 def create_custom_key_store(self, CustomKeyStoreName: str, CloudHsmClusterId: str, TrustAnchorCertificate: str, KeyStorePassword: str) -> Dict:19 pass20 def create_grant(self, KeyId: str, GranteePrincipal: str, Operations: List, RetiringPrincipal: str = None, Constraints: Dict = None, GrantTokens: List = None, Name: str = None) -> Dict:21 pass22 def create_key(self, Policy: str = None, Description: str = None, KeyUsage: str = None, Origin: str = None, CustomKeyStoreId: str = None, BypassPolicyLockoutSafetyCheck: bool = None, Tags: List = None) -> Dict:23 pass24 def decrypt(self, CiphertextBlob: bytes, EncryptionContext: Dict = None, GrantTokens: List = None) -> Dict:25 pass26 def delete_alias(self, AliasName: str):27 pass28 def delete_custom_key_store(self, CustomKeyStoreId: str) -> Dict:29 pass30 def delete_imported_key_material(self, KeyId: str):31 pass32 def describe_custom_key_stores(self, CustomKeyStoreId: str = None, CustomKeyStoreName: str = None, Limit: int = None, Marker: str = None) -> Dict:...
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.
You could also refer to video tutorials over LambdaTest YouTube channel to get step by step demonstration from industry experts.
Get 100 minutes of automation test minutes FREE!!