createLoginKey
    • PDF

    createLoginKey

    • PDF

    기사 요약

    개요

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

    요청

    요청 파라미터

    파라미터명필수 여부타입제약 사항설명
    keyNameYesStringMin:3, Max:30- 생성할 키 이름
    이미 생성된 키명이 존재할 경우 오류 발생

    응답

    응답 바디

    예시

    요청 예시

    GET {SERVER_API_URL}/createLoginKey
    ?keyName=create-key-test
    

    응답 예시

    <createLoginKeyResponse>
      <requestId>e26d3d10-95c8-4c79-b051-803228d2b41f</requestId>
      <returnCode>0</returnCode>
      <returnMessage>success</returnMessage>
      <privateKey>-----BEGIN RSA PRIVATE KEY-----MIIEpAIBAAKCAQEAyYJRbytWXiiZHJccWOypon5UORDDb3W/hs+NDpnHUzfo1cKdgsBuNEd/XeyXW4jwUAWLXxebnysgjNnpSJzsxQFiuB06O1qMQgiVslfmDAQG9yFa8mr/uSLlvYP+dFkAKhxNyIC7JZ0y334ueECfHFInE0hTY1jo5vTgjaxxuJ69am0n8KBwVXVc9HBo/SWTfa6Sy7umqDTplGdq3oztjYDN9/nF9ATwmPNHKWAAq3cpEHIOihTAhuqxiS84WyOlBNSDpFWpfxWavtbPIljnEu27/BQjlnwbcGCx1ukJ+ScdoAIRIbPFjlP/2bShqJFco1pviLCvRyIeuj8lG/RyuwIDAQABAoIBAD1F+y0qqGCJR8WBzYTcsdhPQZz4k/TYgRylD+dYq1uKrKoTO4H+sYQEGZ6dyohy41/xz6dirld/7a3mtSD3Vqew/Cuv930E05FguuQ4BiOxNcz/v3/nOUs6aVFvSXhnd71WTfCh9EZDvqxm2gqG29rowCkE3RZgerF/1Kg/v3S7hXo2w1Ntv5aBp7cbaFwFazg4Bl0PLo5LS2HKedGcj8W0vrqxuRj7FU+oVMDYrrjMoC9/9gfswhBm2xNT1OQUX8TQNWe6g10823p5BRcYnlSOX4GCudtOeiDzIyRlMB2azFnmCPbVlZW4ShbxvBtrpGj19DDB5aU/rQYghdDFZsECgYEA+MEZkHUpnphk7pMXo4doI61/19PyOjIvnQxnuAqT1Ku9efE3Xb3IQo9hxI3ofjso+oASFnilFA3Gao6aqTmVM6+oaOAjqQBl2Qh4fpBCNhnmqK0pMk9HE4EWeymxJC25mDu/kBzjU3sWCADPmxcACQQkDbzVFm7PTyh2XXu9xIcCgYEAz2DsB/y8JngW7bPUuAEf5nCq5QnNlz7ph48Dw1JMUrZWBtp1sSTQsMbmplsqcAYZ2/yW+5BSQYayDh52CJs4RaPk9ZCAyWnSRzgb7lIx9VnhGeMVV94sBSrULlu3r38IRHvDcYpvEM/0fXVC6xAUqzm/g4V8JO50FD9/P6UAoS0CgYEAiRBlVKqqHyAbZTWZbdq7cAU2jybSrmxevetK7yas5B8pTRqzhix/PuWgWlxTAdL5NmYBEW6yjwU0Ehy3bY00AAHHCtqN654zgE3hjuNQCF1nMgQP0g/Kux2C1KRZXfTv8cjiObchLyuALTK9MdiPhWhJsWQeCblO82/5IHOBUdsCgYEAy5M6wXCCB0WWRIxngqZf+Wia6rJf51x0BYYITKKql/u0oY+tP1ODpjXrUF1oYIYstn7UfGmlxfuDKUcP2cz+RabpaYMMWiyOpylWifKYZmFwD2iTmClaj0wG9OdGf3o11HymVPxvoVJzkQEeywCDOb872NGeF+cZfpMCyKii4JUCgYB2bQq5BpC2XeDE/t0bA6Iw6cUwSZpYrUNDmhLKOk57WmBGjPby8vBnfge4a7eNA1c6kAqdgAoRKZu8wchPIE3Va+nAA4H9mFPmL4xyzVOpYwbpm5ZDLk5xhg35lqHSJamL8168e58mWRV//7q2yjmv571U0Siuh6vrNnNYmf6GTQ==
    -----END RSA PRIVATE KEY-----
    </privateKey>
    </createLoginKeyResponse>
    

    오류 코드

    아래 오류 코드는 이 액션(Action)에서 특징적으로 발생하는 오류입니다. 공통적으로 발생하는 오류에 대한 상세한 설명은 NAVER Cloud Platform API를 참고해주세요

    HTTP Response Code리턴 코드리턴 메시지
    40010405The key name already exists. keyName : ${0}

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

    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.