요청 구성
    • PDF

    요청 구성

    • PDF

    기사 요약

    Base URL(End point)

    https://ocapi.ncloud.com

    요청 구성

    Account Auth APIToken Auth API
    인증 방식NCP 계정 정보를 이용한 사용자 인증키 인증 토큰
    필요 헤더x-ncp-apigw-timestamp
    x-ncp-apigw-signature-v2
    x-ncp-iam-access-key
    x-ncp-ocapi-token

    요청 예시

    • 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"
      }'
    

    이 문서가 도움이 되었습니까?

    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.