Congirue request
    • PDF

    Congirue request

    • PDF

    Article summary

    Base URL(End point)

    https://ocapi.ncloud.com

    Request configuration

    Account Auth APIToken Auth API
    Authentication methodUser authentication using the NAVER Cloud Platform account informationKey authentication token
    Required headerx-ncp-apigw-timestamp
    x-ncp-apigw-signature-v2
    x-ncp-iam-access-key
    x-ncp-ocapi-token

    Request example

    • Account Auth API
    curl -X 'POST' \
      'https://ocapi.ncloud.com/keys/v2/{keyTag}/{action}' \
       -H 'accept: application/json' \
      -H 'x-ncp-apigw-timestamp:{Timestamp}' \
      -H 'x-ncp-iam-access-key:{Sub Account Access Key}' \
      -H 'x-ncp-apigw-signature-v2:{API Gateway Signature}' \
      -H 'Content-Type:application/json' \
      -d '{
        "plaintext": "string",
        "context": "string"
      }'
    
    • Token Auth API
    curl -X 'POST' \
      'https://ocapi.ncloud.com/kms/v1/keys/{keyTag}/encrypt' \
      -H 'accept: application/json' \
      -H 'x-ncp-ocapi-token: {Key Access Token}' \
      -H 'Content-Type: application/json' \
      -d '{
        "plaintext": "string",
        "context": "string"
      }'
    

    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.