getRootPasswordServerInstanceList
    • PDF

    getRootPasswordServerInstanceList

    • PDF

    기사 요약

    개요

    서버 인스턴스(VM)의 로그인 키를 이용하여 root 계정의 비밀번호를 리스트 형태로 조회합니다.
    privateKey를 입력하지 않으면 해당 서버 인스턴스의 암호화된 비밀번호를 조회합니다.

    요청

    요청 파라미터

    파라미터명필수 여부타입제약 사항설명
    regionCodeNoString- 리전 코드
    root 계정의 비밀번호를 조회할 서버 인스턴스 리스트의 리전(Region) 결정 가능
    regionCode는 getRegionList 액션을 통해 획득 가능
    Default : getRegionList 조회 결과의 첫 번째 리전을 선택
    rootPasswordServerInstanceList.N.serverInstanceNoYesString- 서버 인스턴스 번호
    serverInstanceNo는 getServerInstanceList 액션을 통해 획득 가능
    ex) rootPasswordServerInstanceList.1.serverInstanceNo=1234&rootPasswordServerInstanceList.2.serverInstanceNo=2345
    rootPasswordServerInstanceList.N.privateKeyNoString- 서버 인스턴스에 할당된 로그인 키
    생성하거나 import한 로그인 키의 개인 키 텍스트 입력
    서버의 로그인 키 파일(.pem)을 통해 획득 가능
    로그인 키 내용이 그대로 들어와야 하므로 '\n'을 붙여주고, GET 방식을 이용시 URL 인코딩이 필요
    ex) rootPasswordServerInstanceList.1.privateKey=private-key-1&rootPasswordServerInstanceList.2.privateKey=private-key-2
    responseFormatTypeNoString- 응답 결과의 포맷 타입
    Options : xml | json
    Default : xml

    응답

    응답 바디

    예시

    요청 예시

    GET {API_URL}/getRootPasswordServerInstanceList
    ?regionCode=FKR
    &rootPasswordServerInstanceList.1.serverInstanceNo=***4299
    &rootPasswordServerInstanceList.1.privateKey=-----BEGIN RSA PRIVATE KEY-----\nMIIEpAIBAAKCAQEAzbhX0SkB+N3yAe799tP1xuYEL23uaZhqnKSup0IGOICea***\nQC/H2xrYsRgrjDz8Ot6KsTGOFFroMXnBVbSjr2wD7P5OBh/tYqHrIWkraR/49***\netHnir+lQVIWXW7VSd2YMBOp0/u49vuGInhzUetp2XMmVBBnHEAMkfz/yibG5***\n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5ZWaDHq32w6lZRXO***\nXHVO4zoPrriX1S6BH9Jy4dxVcsq7aVqjNNYQUgZYerOKokWc2aBw1HGonw2Zo***\n+hZkRXZaVt6om6C1qFdQCy89u7npkgqQx+1JvGv7lE3IUxP6oxBkkJsWZ65er***\nQ6oYwQKBgQCyjjZ3Lz7cRFHHmmsfUW1SmKmijv+HQYZjTUR7O/4os3jMJZOXx***\n42lAglPh6jkQMROdOyJcJy/waJvKMaOcNBxrHsE6Wxr/CxAjxtdWWUcieLv2W***\nQVy9ggBROA6vB1r4qtlMJI8AYymztJreCiOl7hBaFqezYdQHughrPA==\n-----END RSA PRIVATE KEY-----\n
    

    응답 예시

    <getRootPasswordServerInstanceListResponse>
      <requestId></requestId>
      <returnCode>0</returnCode>
      <returnMessage>success</returnMessage>
      <totalRows>1</totalRows>
      <rootPasswordServerInstanceList>
        <rootPasswordServerInstance>
          <serverInstanceNo>***4299</serverInstanceNo>
          <rootPassword>P3e7fLnd6=***</rootPassword>
        </rootPasswordServerInstance>
      </rootPasswordServerInstanceList>
    </getRootPasswordServerInstanceListResponse>
    

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

    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.