Child pages
  • Get List of SSH Keys
Skip to end of metadata
Go to start of metadata

To see all the keys in the cloud, use the following request:

GET /settings/ssh_keys.xml
GET /settings/ssh_keys.json

XML Output example:

<?xml version="1.0" encoding="UTF-8"?>
<ssh_keys type="array">
<ssh_key>
<created_at type="datetime">2011-09-13T16:10:02Z</created_at>
<updated_at type="datetime">2011-09-13T16:10:02Z</updated_at>
<id type="integer">3</id>
<user_id type="integer">1</user_id>
<key>ssh-rsa AAAAB3NzaC1yc2EAAAABJQAAAIEAqzsLk+oPP9Qxz0Xgpqoe9DqNV7Qe3+oig/o6Ubt30Yh+Zarf8NXctqqeamC1KrlMt12d0AWd38dZ0CU6Eru/2ciwzz2IB0MLrTyjfLCNe2CW64uNjhSS1SH6gSjJUYwHSi7jUBl0vlGtJ7jswBdhgaKkjk1vXH3YFLTHPuKU+pc=user@onapp.test
</key>
</ssh_key>
</ssh_keys>


Where:

ssh_key – an array which displays the key info

id – the SSH key ID

user_id – ID of the user to whom the key belongs

key – SSH key

  • No labels