Create Keys for Digital Signature

This section shows you how to create keys for digital signature.

Endpoint

Test:
POST
https://apitest.cybersource.com
/kms/egress/v2/keys-sym
Production:
POST
https://api.cybersource.com
/kms/egress/v2/keys-sym
Production in India:
POST
https://api.in.cybersource.com
/kms/egress/v2/keys-sym

Required Fields for Creating Keys for Digital Signature

clientRequestAction
keyInformation.provider
keyInformation.tenant
keyInformation.keyType
keyInformation.organizationId
Create Keys for Digital Signature

REST Example: Creating Keys for Digital Signature

Request
{ "clientRequestAction": "CREATE", "keyInformation": { "provider": "nrtd", "tenant": "testrest", "keyType": "sharedSecret", "organizationId": "testrest" } }
Response to a Successful Request
{ "submitTimeUtc": "2023-02-10T21:26:58Z", "status": "SUCCESS", "keyInformation": { "provider": "nrtd", "tenant": "testrest", "organizationId": "testrest", "keyId": "f4602849-1466-7937-e053-5a588d0ac970", "key": "CWK8MHJbHldt74kftIP/+0tTG89We+SWkS7qXjiVJJA=", "keyType": "sharedSecret", "status": "active", "expirationDate": "2026-02-09T21:26:58Z" } }
Create Keys for Digital Signature