cURL
curl --request POST \ --url https://us.infisical.com/api/v1/kms/keys/{keyId}/sign \ --header 'Content-Type: application/json' \ --data '{ "signingAlgorithm": "RSASSA_PSS_SHA_512", "isDigest": false, "data": "<string>" }'
{ "signature": "<string>", "keyId": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "signingAlgorithm": "RSASSA_PSS_SHA_512" }
Sign data with a KMS key.
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
Was this page helpful?