MENU
      getRootPasswordServerInstanceList

        getRootPasswordServerInstanceList


        Article summary

        Overview

        Searching a server root account password Information

        Description

        Search a root account password using private key on your server(VM).

        Request Parameters

        Parameter NameRequirednessTypeLimitationDescription
        rootPasswordServerInstance.serverInstanceNoYesStringServer instance No.
        rootPasswordServerInstance.privateKeyYesStringLogin key that you applied when creating a server (It receives the storage path.)
        - Key values entered are not sent to the network.
        - ex) file://directory1/directory2/*.pem
        - ex) https://kr.objectstorage.ncloud.com/bucket/penguin.pem

        Response Data Type

        • RootPasswordServerInstance Type
        RootPasswordServerInstance extends CommonResponse
        private String serverInstanceNo;
        private String rootPassword;

        Examples

        Request

        ncloud server getRootPasswordServerInstanceList --rootPasswordServerInstanceList "serverInstanceNo=886621, privateKey='file:///C:/Users/USER/Desktop/private/key/penguin-beta.pem'" "serverInstanceNo=886624, privateKey='file:///C:/Users/USER/Desktop/private/key/penguin-beta.pem'"
        Plain text

        Response

        {
          "getRootPasswordServerInstanceListResponse": {
            "requestId": "20bb8687-5f38-40be-bea3-03adab55f069",
            "returnCode": "0",
            "returnMessage": "success",
            "totalRows": 2,
            "rootPasswordServerInstanceList": [
              {
                "serverInstanceNo": "886621",
                "rootPassword": "N2T!FH93*hd"
              },
              {
                "serverInstanceNo": "886624",
                "rootPassword": "R78D55h9J#"
              }
            ]
          }
        }
        JSON
        <?xml version="1.0" encoding="UTF-8" ?>
        <getRootPasswordServerInstanceListResponse>
          <requestId>20bb8687-5f38-40be-bea3-03adab55f069</requestId>
          <returnCode>0</returnCode>
          <returnMessage>success</returnMessage>
          <totalRows>2</totalRows>
          <rootPasswordServerInstanceList>
            <serverInstanceNo>886621</serverInstanceNo>
            <rootPassword>N2T!FH93*hd</rootPassword>
          </rootPasswordServerInstanceList>
          <rootPasswordServerInstanceList>
            <serverInstanceNo>886624</serverInstanceNo>
            <rootPassword>R78D55h9J#</rootPassword>
          </rootPasswordServerInstanceList>
        </getRootPasswordServerInstanceListResponse>
        XML

        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.