Skip to main content
client.kms.get_key_by_name() fetches a key in a KMS project by its name.

Parameters

str
required
The name of the key.
str
required
The ID of the KMS project.

Returns

KmsKey
The key, with its id, which the other KMS methods take as key_id.