cURL
Signing
Sign Data
Sign data with a KMS key.
POST
cURL
Path Parameters
The ID of the key to sign the data with.
Body
application/json
Available options:
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, ML_DSA_44, ML_DSA_65, ML_DSA_87 The data in string format to be signed (base64 encoded).
Whether the data is already digested or not. Please be aware that if you are passing a digest the algorithm used to create the digest must match the signing algorithm used to sign the digest.
Response
Default Response
Available options:
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, ML_DSA_44, ML_DSA_65, ML_DSA_87