Sign
    • PDF

    Sign

    • PDF

    Article summary

    Summary

    Generate a signature value of up to 8 KB of data with a specified master key (secret key) (typically passing a hash of the data to be signed). The request can only be made with the key type used for signature/validation.

    POST https://kms.apigw.ntruss.com/keys/v1/{keyTag}/sign
    POST https://kms.apigw.ntruss.com/keys/v2/{keyTag}/sign
    

    Request

    Request parameters

    Parameter nameTypeDescription
    keyTagString (Required)Tag value of the master key to use for the signature

    Request body

    {
      "data" : string
    }
    
    Parameter nameTypeDescription
    dataString (Required)- Data to generate the signature value (up to 8 KB)
    Need to be Base64-encoded

    Response

    Response body

    {
      "signature" : string
    }
    
    Parameter nameTypeDescription
    signatureString- Signature value data
    Consist of a KMS prefix and a Base64-encoded signature value

    Was this article helpful?

    What's Next
    Changing your password will log you out immediately. Use the new password to log back in.
    First name must have atleast 2 characters. Numbers and special characters are not allowed.
    Last name must have atleast 1 characters. Numbers and special characters are not allowed.
    Enter a valid email
    Enter a valid password
    Your profile has been successfully updated.