createLoginKey
- Print
- PDF
createLoginKey
- Print
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
Can be used in a VPC environment.
Overview
This creates a key that encrypts and decrypts a password with the login key when accessing a server instance (VM).
Request
Request parameters
Parameter name | Required | Type | Restrictions | Description |
---|---|---|---|---|
keyName | No | String | Min : 3, Max : 30 Only English alphabets, numbers, and "-" can be used and it must start with an English letter. It must end with an English letter or number. | The name of the key to be created Default: NAVER Cloud Platform automatically grants it. |
responseFormatType | No | String | Format type of the response results Options : xml | json Default : xml |
Response
Response body
Example
Request Example
GET {API_URL}/createLoginKey
?keyName=test-***
Response Example
<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>
Was this article helpful?