KMS Signing

Verify data signatures with a KMS key.

post/api/v1/kms/keys/{keyId}/verify

Request

  • Base URL
    https://us.infisical.com
  • URL
    https://us.infisical.com/api/v1/kms/keys/{keyId}/verify
  • Auth
    none declared

Path parameters

keyIdstring uuid required

The ID of the key to verify the data with.

Request body

isDigestboolean

Whether the data is already digested or not.

datastring required

The data in string format to be verified (base64 encoded). For data larger than 1MB you must first create a digest of the data and then pass the digest in the data parameter.

signaturestring required

The signature to be verified (base64 encoded).

signingAlgorithm'RSASSA_PSS_SHA_512' | 'RSASSA_PSS_SHA_384' | 'RSASSA_PSS_SHA_256' | 'RSASSA_PKCS1_V1_5_SHA_512' | 'RSASSA_PKCS1_V1_5_SHA_384' | 'RSASSA_PKCS1_V1_5_SHA_256' | 'ECDSA_SHA_512' | 'ECDSA_SHA_384' | 'ECDSA_SHA_256' | 'ED25519' | 'ML_DSA_44' | 'ML_DSA_65' | 'ML_DSA_87' required

Response

Default Response

signatureValidboolean required
keyIdstring uuid required
signingAlgorithm'RSASSA_PSS_SHA_512' | 'RSASSA_PSS_SHA_384' | 'RSASSA_PSS_SHA_256' | 'RSASSA_PKCS1_V1_5_SHA_512' | 'RSASSA_PKCS1_V1_5_SHA_384' | 'RSASSA_PKCS1_V1_5_SHA_256' | 'ECDSA_SHA_512' | 'ECDSA_SHA_384' | 'ECDSA_SHA_256' | 'ED25519' | 'ML_DSA_44' | 'ML_DSA_65' | 'ML_DSA_87' required

Changes

    • warning

      added the new ED25519 enum value to the response property for the response status

    • info

      added the new ED25519 enum value to the request property