createLoginKey
    • PDF

    createLoginKey

    • PDF

    기사 요약

    VPC 환경에서 이용 가능합니다.

    개요

    서버 인스턴스(VM)에 접속시 로그인키를 이용하여 비밀번호를 암호화하고 복호화하는 키를 생성합니다.

    요청

    요청 파라미터

    파라미터명필수 여부타입제약 사항설명
    keyNameNoStringMin : 3, Max : 30
    영어, 숫자, "-"의 특수문자만 허용하며 영어로 시작해야 함
    영어 또는 숫자로 끝나야 함
    - 생성할 키 이름
    Default : NAVER Cloud Platform가 자동으로 부여함
    responseFormatTypeNoString- 응답 결과의 포맷 타입
    Options : xml | json
    Default : xml

    응답

    응답 데이터 타입

    • KeyName 타입
    KeyName
    private String keyName;
    • PrivateKey 타입
    PrivateKey
    private String privateKey;

    예시

    요청 예시

    ncloud vserver createLoginKey --keyName test-***
    

    응답 예시

    <createLoginKeyResponse>
      <requestId>7dbc947d-669d-4245-9d68-16d1983c4dc3</requestId>
      <returnCode>0</returnCode>
      <returnMessage>success</returnMessage>
      <keyName>test-***</keyName>
      <privateKey>-----BEGIN RSA PRIVATE KEY-----
    MIIEpAIBAAKCAQEAzbhX0SkB+N3yAe799tP1xuYEL23uaZhqnKSup0IGOICea***
    QC/H2xrYsRgrjDz8Ot6KsTGOFFroMXnBVbSjr2wD7P5OBh/tYqHrIWkraR/49***
    etHnir+lQVIWXW7VSd2YMBOp0/u49vuGInhzUetp2XMmVBBnHEAMkfz/yibG5***
    d9qB4VSW/ha4YtbXi3d2d908GbPhYznlY/vI68zgT2OP878d/kob0mIWZixdv***
    t62vYOy/pq3+CMtBwHuZ+YKHM/zxkZh2PUvfxYwCo9kaq+WFQqmgzzw5KSH6v***
    MeZCY+qzGDZe6gtePUu+iTV4UmU6OQcM8uF2DQIDAQABAoIBABaHTo6oSAACB***
    8Xv7YFoEzIaJKmfD+kDnQ/0rHNVJOJAEqOyUjvVurjZOqE42S4UC4/tdquqNv***
    BJgnLRnD4XYtr0u6aVu40bAZ/VgI2VH4GnhVzl6CeE17+NkIjzEEpGr3bEy7r***
    2K6jtDVPa4sVsifYmAIe/YFrTHPNswwn7ZIa9LzsEJYWhj4Cp42kxY8ee2h6A***
    v53S+rMIuLyzd+QJ2PuVry8l/wBfPiGUi6k/W1WDGbM0dWNKhENy/eCfLcFPJ***
    iu9Ha0FAzYh7I61A/dBwpKPfijzQbHFg7Fvowoowz7EeUm/1FenoQs7/hMYdA***
    I6qgRD0CgYEA6Hvc0einnngHlc7X7G3NuH1L8dm3mKiVerVVV2aYCRaEtSt8h***
    RLRIEBPEPtVisQEZFvSm30kDDfZLThOhxf00cG6+Gp0v/oAKIUiJ66teuayPv***
    RTBIm8/Urq0PxC/EfqK7cZljWVv8hWPNPYxIB/QXFL+NiK16dTHD8K8CgYEA4***
    1DADhlqcrBJZW9QwDWNok7W5HO8EW4mRFtVPwXk0M6ZyDL/6bR+uH7CXjxJwD***
    9U8ZoCiE9LN7q6aMxH5/giislWCoVh9Mx1Gg3m1I5p1yYEqzjVEIsvB8+XCY/***
    mMC1O59/r47/Hi2e+ZkS9EgPmCC+TXgB09SFnAMCgYEAjsrNJYyNr5Kvrf7et***
    wDMNO13rG3OoZDcOVOFpzmMrXY95LJWMgylr/Zv2dFViCa/P9j6MZCaXHrNBK***
    UX8k/021q+kR+nIwRqMkO0EFrGtl2malpTBz2Ge9jRA0194zBUj0cmCxGcibA***
    R6lq8J+msZK53tIWnfbUD3cCgYBDlORoCWsDykSzkUXXf5ZWaDHq32w6lZRXO***
    XHVO4zoPrriX1S6BH9Jy4dxVcsq7aVqjNNYQUgZYerOKokWc2aBw1HGonw2Zo***
    +hZkRXZaVt6om6C1qFdQCy89u7npkgqQx+1JvGv7lE3IUxP6oxBkkJsWZ65er***
    Q6oYwQKBgQCyjjZ3Lz7cRFHHmmsfUW1SmKmijv+HQYZjTUR7O/4os3jMJZOXx***
    42lAglPh6jkQMROdOyJcJy/waJvKMaOcNBxrHsE6Wxr/CxAjxtdWWUcieLv2W***
    QVy9ggBROA6vB1r4qtlMJI8AYymztJreCiOl7hBaFqezYdQHughrPA==
    -----END RSA PRIVATE KEY-----
    </privateKey>
    </createLoginKeyResponse>
    

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

    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.