Skip to main content
client.kms().keys().create() creates a key in a KMS project. The key stays in Infisical, so your application never holds it. A key either encrypts and decrypts data or signs and verifies it, depending on its keyUsage.

Parameters

CreateKmsKeyOptions
required

Returns

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