인증키 생성
    • PDF

    인증키 생성

    • PDF

    Article summary

    The latest service changes have not yet been reflected in this content. We will update the content as soon as possible. Please refer to the Korean version for information on the latest updates.

    (NSML 접속용) 인증키를 생성합니다.

    POST https://nsml.apigw.ntruss.com/nsml/v1/auth-keys
    

    요청

    요청 파라미터

    필드명타입설명비고
    titleString인증 키 title
    keyString인증 키

    응답

    응답 Status

    HTTP StatusDesc
    201Created
    400Bad Request
    401Unauthorized
    403Forbidden
    404Not Found
    406Not Accepted
    500Internal Server Error

    예시

    요청 예시

    POST /nsml/v1/auth-keys
    
    Host: nsml.apigw.ntruss.com
    accept: application/json
    x-ncp-iam-access-key: {Access key}
    x-ncp-apigw-signature-v2: {API GW signature}
    x-ncp-apigw-timestamp: {timestamp}
    x-ncp-apigw-api-key: {apigw-api-key}
    
    {
      "title": "test-auth-key1",
      "key": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC7Bsp2RdQ+rxa2Q+fwwK/Qnhl8lgpBKYksN4yVeSzgbdGtYWYKFAkYuG5wlrWwRnfMUKzBWflMF+oI7ZrK9WLx1Lk+ipVKcLZIjD0XSG+tLYFBCVEHsMKKn8H2k/QDbQRKjLOvuFIp0+LUGCfbVbG9KzIs5CbiZuAf/Jp7tFq3Wl7cyFOA+1qwl8x8JcC2vZ0Yup5hysWM3i2z9BfiStnpiDTfYSDHptsMCgwdRHEZ3Mkmvr+oDmaUhlGxxpy6kcjCPvatPq3o5J//N0XZCBWlW48tkAYd59xVGctO0H2nq5PlVA1kVq5l+AJVoJ0tei5+YkqY+bH5tOt+dOzltwPb test-user@test"
    }
    

    Was this article helpful?

    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.