Cloud Management API 1.5

SshKeys

Ssh Keys represent a created SSH Key that exists in the cloud.

An ssh key might also contain the private part of the key, and can be used to login to instances launched with it.

Actions

index

Lists ssh keys.

URLs
GET /api/clouds/:cloud_id/ssh_keys
HTTP response code
200 OK
Content-type
application/vnd.rightscale.ssh_key;type=collection

Required roles

Parameters

name required type values regexp blank? description
filter no Array * * no See below for valid filter parameters.
view no String default, sensitive * no Specifies how many attributes and/or expanded nested relationships to include.

Filters

name partial_match? description
name yes Name of the SSH key to filter on.
resource_uid no Resource Unique IDentifier for the SSH key to filter on.

Example Responses

Click on a format below to see an example response for the 'default' view:

JSON XML
[{
  "resource_uid": "RESOURCE_625502995",
  "name": null,
  "links": [
    {"rel":"self","href":"/api/clouds/888/ssh_keys/ABC1163003827DEF"},
    {"rel":"cloud","href":"/api/clouds/888"}
  ],
  "actions": [

  ]
},{
  "resource_uid": "RESOURCE_1055357553",
  "name": null,
  "links": [
    {"rel":"self","href":"/api/clouds/888/ssh_keys/ABC993056642DEF"},
    {"rel":"cloud","href":"/api/clouds/888"}
  ],
  "actions": [

  ]
}]
<?xml version="1.0" encoding="UTF-8"?>
<ssh_keys>
  <ssh_key>
    <resource_uid>RESOURCE_625502995</resource_uid>
    <name/>
    <links>
      <link rel="self" href="/api/clouds/888/ssh_keys/ABC1163003827DEF"/>
      <link rel="cloud" href="/api/clouds/888"/>
    </links>
    <actions/>
  </ssh_key>
  <ssh_key>
    <resource_uid>RESOURCE_1055357553</resource_uid>
    <name/>
    <links>
      <link rel="self" href="/api/clouds/888/ssh_keys/ABC993056642DEF"/>
      <link rel="cloud" href="/api/clouds/888"/>
    </links>
    <actions/>
  </ssh_key>
</ssh_keys>

Click on a format below to see an example response for the 'sensitive' view:

JSON XML
[{
  "resource_uid": "RESOURCE_625502995",
  "name": null,
  "links": [
    {"rel":"self","href":"/api/clouds/888/ssh_keys/ABC1163003827DEF"},
    {"rel":"cloud","href":"/api/clouds/888"}
  ],
  "actions": [

  ],
  "material": "-----BEGI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jhR3ltZSDU8nv5G1ccTBi1v5BPxTDrRAoGBAONMVxIno1LK7tT6j2eQzVTs\n80f2biz0CSTzT605sMIjzFb7CM2u3foMM3Hhgj35jQAv2JjJnWKHuGBxqmPgCyUs\nx7LP7epySlf1YPOnhMthTo3vXMVL9HpJkFTycaBxyv3GeOqUwWHEP/klqV/SoaA8\n+O3ClIxMBx2v4o0l7upVAoGAEXGlPv1h8ywQYLEkEYYpwstqcvP/qgLS1UGszyQM\nu0KPLyMerm9a40//i25wNo9vqjIfY03zPO4n9gv30aGmij4vx4PIUSg5/h5bDz/d\nr53bxhWSuH2nL9mVSIaZaos1LHvafvkf+MMfgSuWt19sltlPdOGACb/NVFoMPDlB\nDFsCgYEAnad1J5TrmjrWZPZ4cfKWzEJBYw5h6MGtuV5fuLCHKbh28NjYBF38Sl4m\nbRtPkZnuA2kxsBc0BKhFSL963v5EEaj2uR1ksZxFgDlSdt6MeVSK5+LG82G2iwqq\ncI0UJuC37BDDYVda9GG4YckqfS7gxOfq80vjNXZ+d8V3x51BM7A=\n-----END RSA PRIVATE KEY-----\n"
},{
  "resource_uid": "RESOURCE_1055357553",
  "name": null,
  "links": [
    {"rel":"self","href":"/api/clouds/888/ssh_keys/ABC993056642DEF"},
    {"rel":"cloud","href":"/api/clouds/888"}
  ],
  "actions": [

  ],
  "material": "-----BEGIN RSA PRIVATE KEY-----\nMIIEogIBAAKCAQEAv6WKOL7CUIj4eSdrqN2EX+HgDW2Nf+vj0yZeHVRD5FDznEu4\n8lbSVh02QtQZnPRzqWYYpZpl9ImXJMA+jfB/4jwNixCdPW9mrPf0y3drSNspV3g8\nhTrsaVci7irs/r5ZdTenYWppCps8NWn3GbQrspmYKdwzmP57uiq+B9iMcRgAdSn3\nNvPp5zvHKEsJJcP4Umc+sdGKWo7W2kL0SBpHey/+DXcGMPBNJiKa8DbRKRT4VJSC\nD/KeU48VolaklGVI4YE8YAtvESkkig34RlhmT3oFBDlIhmx2aIzVVfnnHPowYKKl\nP1z+7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MMfgSuWt19sltlPdOGACb/NVFoMPDlB\nDFsCgYEAnad1J5TrmjrWZPZ4cfKWzEJBYw5h6MGtuV5fuLCHKbh28NjYBF38Sl4m\nbRtPkZnuA2kxsBc0BKhFSL963v5EEaj2uR1ksZxFgDlSdt6MeVSK5+LG82G2iwqq\ncI0UJuC37BDDYVda9GG4YckqfS7gxOfq80vjNXZ+d8V3x51BM7A=\n-----END RSA PRIVATE KEY-----\n"
}]
<?xml version="1.0" encoding="UTF-8"?>
<ssh_keys>
  <ssh_key>
    <resource_uid>RESOURCE_625502995</resource_uid>
    <name/>
    <links>
      <link rel="self" href="/api/clouds/888/ssh_keys/ABC1163003827DEF"/>
      <link rel="cloud" href="/api/clouds/888"/>
    </links>
    <actions/>
    <material>-----BEGIN RSA PRIVATE KEY-----
MIIEogIBAAKCAQEAv6WKOL7CUIj4eSdrqN2EX+HgDW2Nf+vj0yZeHVRD5FDznEu4
8lbSVh02QtQZnPRzqWYYpZpl9ImXJMA+jfB/4jwNixCdPW9mrPf0y3drSNspV3g8
hTrsaVci7irs/r5ZdTenYWppCps8NWn3GbQrspmYKdwzmP57uiq+B9iMcRgAdSn3
NvPp5zvHKEsJJcP4Umc+sdGKWo7W2kL0SBpHey/+DXcGMPBNJiKa8DbRKRT4VJSC
D/KeU48VolaklGVI4YE8YAtvESkkig34RlhmT3oFBDlIhmx2aIzVVfnnHPowYKKl
P1z+7DcpRddvuhnh9Tk+xbMpqgfVY8iCjLgZDwIBIwKCAQAg2oy5RUXh65hPSJYc
8sY8UptwBCbiurlXZam74o9LthsiG5wMSWXi4G+zr1TZE/aSEYCRauzoF5ZA0H/A
j6Dk9FoX1vZiTZySrin2/odrk0jqbGIld9DBmei7HU0y/A9V7EiUW2J22Mh+L2ww
SsWplqxe8oyAoKd/AANRzVnngCjkaQwsr0ikoXneIldThNVffvKFW7Lg1OX4J7Hq
+h1S9z3LmZi6F9v2m75zwinOFJpNG7I+2ghieohoPr07svaRhP0Npnv1eulpMAJW
mLqLBUeaGVRWZ+TZBzL0C+jkgF9F5S+TLSu5vtDJNcuBPb9PvU7fFj80n+eE2BE8
TshLAoGBAPES5/v7fq0kzsLbMz9MAJBgKNAz6TdvbowJ0KBzfWkOse+lZm2K624M
8L6Z17YYMLKfWhZpOlE6nMNhSBxaOl27IWCO9JPOjOjs+ji5bc/y1zGwSx7Ub+aM
FTNOtpLlS6hOn0ZftdRMQ9mzlJvu6XtndJ8UMPHkB4wXorS7oE3fAoGBAMuDMomM
IWpXab1n+iHH5zXv2efJUWog8Q1TisX56d4IhntEZfMTJFv6pVqzHSc0FsGeGNvi
wHGFJ4vg9eMIlveALW0Bdl1/+eoM0Qc+b6uHBAb7r72589jqeE4iUzBYFwb6SnQF
H6uPGjhR3ltZSDU8nv5G1ccTBi1v5BPxTDrRAoGBAONMVxIno1LK7tT6j2eQzVTs
80f2biz0CSTzT605sMIjzFb7CM2u3foMM3Hhgj35jQAv2JjJnWKHuGBxqmPgCyUs
x7LP7epySlf1YPOnhMthTo3vXMVL9HpJkFTycaBxyv3GeOqUwWHEP/klqV/SoaA8
+O3ClIxMBx2v4o0l7upVAoGAEXGlPv1h8ywQYLEkEYYpwstqcvP/qgLS1UGszyQM
u0KPLyMerm9a40//i25wNo9vqjIfY03zPO4n9gv30aGmij4vx4PIUSg5/h5bDz/d
r53bxhWSuH2nL9mVSIaZaos1LHvafvkf+MMfgSuWt19sltlPdOGACb/NVFoMPDlB
DFsCgYEAnad1J5TrmjrWZPZ4cfKWzEJBYw5h6MGtuV5fuLCHKbh28NjYBF38Sl4m
bRtPkZnuA2kxsBc0BKhFSL963v5EEaj2uR1ksZxFgDlSdt6MeVSK5+LG82G2iwqq
cI0UJuC37BDDYVda9GG4YckqfS7gxOfq80vjNXZ+d8V3x51BM7A=
-----END RSA PRIVATE KEY-----
</material>
  </ssh_key>
  <ssh_key>
    <resource_uid>RESOURCE_1055357553</resource_uid>
    <name/>
    <links>
      <link rel="self" href="/api/clouds/888/ssh_keys/ABC993056642DEF"/>
      <link rel="cloud" href="/api/clouds/888"/>
    </links>
    <actions/>
    <material>-----BEGIN RSA PRIVATE KEY-----
MIIEogIBAAKCAQEAv6WKOL7CUIj4eSdrqN2EX+HgDW2Nf+vj0yZeHVRD5FDznEu4
8lbSVh02QtQZnPRzqWYYpZpl9ImXJMA+jfB/4jwNixCdPW9mrPf0y3drSNspV3g8
hTrsaVci7irs/r5ZdTenYWppCps8NWn3GbQrspmYKdwzmP57uiq+B9iMcRgAdSn3
NvPp5zvHKEsJJcP4Umc+sdGKWo7W2kL0SBpHey/+DXcGMPBNJiKa8DbRKRT4VJSC
D/KeU48VolaklGVI4YE8YAtvESkkig34RlhmT3oFBDlIhmx2aIzVVfnnHPowYKKl
P1z+7DcpRddvuhnh9Tk+xbMpqgfVY8iCjLgZDwIBIwKCAQAg2oy5RUXh65hPSJYc
8sY8UptwBCbiurlXZam74o9LthsiG5wMSWXi4G+zr1TZE/aSEYCRauzoF5ZA0H/A
j6Dk9FoX1vZiTZySrin2/odrk0jqbGIld9DBmei7HU0y/A9V7EiUW2J22Mh+L2ww
SsWplqxe8oyAoKd/AANRzVnngCjkaQwsr0ikoXneIldThNVffvKFW7Lg1OX4J7Hq
+h1S9z3LmZi6F9v2m75zwinOFJpNG7I+2ghieohoPr07svaRhP0Npnv1eulpMAJW
mLqLBUeaGVRWZ+TZBzL0C+jkgF9F5S+TLSu5vtDJNcuBPb9PvU7fFj80n+eE2BE8
TshLAoGBAPES5/v7fq0kzsLbMz9MAJBgKNAz6TdvbowJ0KBzfWkOse+lZm2K624M
8L6Z17YYMLKfWhZpOlE6nMNhSBxaOl27IWCO9JPOjOjs+ji5bc/y1zGwSx7Ub+aM
FTNOtpLlS6hOn0ZftdRMQ9mzlJvu6XtndJ8UMPHkB4wXorS7oE3fAoGBAMuDMomM
IWpXab1n+iHH5zXv2efJUWog8Q1TisX56d4IhntEZfMTJFv6pVqzHSc0FsGeGNvi
wHGFJ4vg9eMIlveALW0Bdl1/+eoM0Qc+b6uHBAb7r72589jqeE4iUzBYFwb6SnQF
H6uPGjhR3ltZSDU8nv5G1ccTBi1v5BPxTDrRAoGBAONMVxIno1LK7tT6j2eQzVTs
80f2biz0CSTzT605sMIjzFb7CM2u3foMM3Hhgj35jQAv2JjJnWKHuGBxqmPgCyUs
x7LP7epySlf1YPOnhMthTo3vXMVL9HpJkFTycaBxyv3GeOqUwWHEP/klqV/SoaA8
+O3ClIxMBx2v4o0l7upVAoGAEXGlPv1h8ywQYLEkEYYpwstqcvP/qgLS1UGszyQM
u0KPLyMerm9a40//i25wNo9vqjIfY03zPO4n9gv30aGmij4vx4PIUSg5/h5bDz/d
r53bxhWSuH2nL9mVSIaZaos1LHvafvkf+MMfgSuWt19sltlPdOGACb/NVFoMPDlB
DFsCgYEAnad1J5TrmjrWZPZ4cfKWzEJBYw5h6MGtuV5fuLCHKbh28NjYBF38Sl4m
bRtPkZnuA2kxsBc0BKhFSL963v5EEaj2uR1ksZxFgDlSdt6MeVSK5+LG82G2iwqq
cI0UJuC37BDDYVda9GG4YckqfS7gxOfq80vjNXZ+d8V3x51BM7A=
-----END RSA PRIVATE KEY-----
</material>
  </ssh_key>
</ssh_keys>

show

Displays information about a single ssh key.

URLs
GET /api/clouds/:cloud_id/ssh_keys/:id
HTTP response code
200 OK
Content-type
application/vnd.rightscale.ssh_key

Required roles

Parameters

name required type values regexp blank? description
view no String default, sensitive * no Specifies how many attributes and/or expanded nested relationships to include.

Example Responses

Click on a format below to see an example response for the 'default' view:

JSON XML
{
  "resource_uid": "RESOURCE_625502995",
  "name": null,
  "links": [
    {"rel":"self","href":"/api/clouds/888/ssh_keys/ABC1163003827DEF"},
    {"rel":"cloud","href":"/api/clouds/888"}
  ],
  "actions": [

  ]
}
<?xml version="1.0" encoding="UTF-8"?>
<ssh_key>
  <resource_uid>RESOURCE_625502995</resource_uid>
  <name/>
  <links>
    <link rel="self" href="/api/clouds/888/ssh_keys/ABC1163003827DEF"/>
    <link rel="cloud" href="/api/clouds/888"/>
  </links>
  <actions/>
</ssh_key>

Click on a format below to see an example response for the 'sensitive' view:

JSON XML
{
  "resource_uid": "RESOURCE_625502995",
  "name": null,
  "links": [
    {"rel":"self","href":"/api/clouds/888/ssh_keys/ABC1163003827DEF"},
    {"rel":"cloud","href":"/api/clouds/888"}
  ],
  "actions": [

  ],
  "material": "-----BEGIN RSA PRIVATE KEY-----\nMIIEogIBAAKCAQEAv6WKOL7CUIj4eSdrqN2EX+HgDW2Nf+vj0yZeHVRD5FDznEu4\n8lbSVh02QtQZnPRzqWYYpZpl9ImXJMA+jfB/4jwNixCdPW9mrPf0y3drSNspV3g8\nhTrsaVci7irs/r5ZdTenYWppCps8NWn3GbQrspmYKdwzmP57uiq+B9iMcRgAdSn3\nNvPp5zvHKEsJJcP4Umc+sdGKWo7W2kL0SBpHey/+DXcGMPBNJiKa8DbRKRT4VJSC\nD/KeU48VolaklGVI4YE8YAtvESkkig34RlhmT3oFBDlIhmx2aIzVVfnnHPowYKKl\nP1z+7DcpRddvuhnh9Tk+xbMpqgfVY8iCjLgZDwIBIwKCAQAg2oy5RUXh65hPSJYc\n8sY8UptwBCbiurlXZam74o9LthsiG5wMSWXi4G+zr1TZE/aSEYCRauzoF5ZA0H/A\nj6Dk9FoX1vZiTZySrin2/odrk0jqbGIld9DBmei7HU0y/A9V7EiUW2J22Mh+L2ww\nSsWplqxe8oyAoKd/AANRzVnngCjkaQwsr0ikoXneIldThNVffvKFW7Lg1OX4J7Hq\n+h1S9z3LmZi6F9v2m75zwinOFJpNG7I+2ghieohoPr07svaRhP0Npnv1eulpMAJW\nmLqLBUeaGVRWZ+TZBzL0C+jkgF9F5S+TLSu5vtDJNcuBPb9PvU7fFj80n+eE2BE8\nTshLAoGBAPES5/v7fq0kzsLbMz9MAJBgKNAz6TdvbowJ0KBzfWkOse+lZm2K624M\n8L6Z17YYMLKfWhZpOlE6nMNhSBxaOl27IWCO9JPOjOjs+ji5bc/y1zGwSx7Ub+aM\nFTNOtpLlS6hOn0ZftdRMQ9mzlJvu6XtndJ8UMPHkB4wXorS7oE3fAoGBAMuDMomM\nIWpXab1n+iHH5zXv2efJUWog8Q1TisX56d4IhntEZfMTJFv6pVqzHSc0FsGeGNvi\nwHGFJ4vg9eMIlveALW0Bdl1/+eoM0Qc+b6uHBAb7r72589jqeE4iUzBYFwb6SnQF\nH6uPGjhR3ltZSDU8nv5G1ccTBi1v5BPxTDrRAoGBAONMVxIno1LK7tT6j2eQzVTs\n80f2biz0CSTzT605sMIjzFb7CM2u3foMM3Hhgj35jQAv2JjJnWKHuGBxqmPgCyUs\nx7LP7epySlf1YPOnhMthTo3vXMVL9HpJkFTycaBxyv3GeOqUwWHEP/klqV/SoaA8\n+O3ClIxMBx2v4o0l7upVAoGAEXGlPv1h8ywQYLEkEYYpwstqcvP/qgLS1UGszyQM\nu0KPLyMerm9a40//i25wNo9vqjIfY03zPO4n9gv30aGmij4vx4PIUSg5/h5bDz/d\nr53bxhWSuH2nL9mVSIaZaos1LHvafvkf+MMfgSuWt19sltlPdOGACb/NVFoMPDlB\nDFsCgYEAnad1J5TrmjrWZPZ4cfKWzEJBYw5h6MGtuV5fuLCHKbh28NjYBF38Sl4m\nbRtPkZnuA2kxsBc0BKhFSL963v5EEaj2uR1ksZxFgDlSdt6MeVSK5+LG82G2iwqq\ncI0UJuC37BDDYVda9GG4YckqfS7gxOfq80vjNXZ+d8V3x51BM7A=\n-----END RSA PRIVATE KEY-----\n"
}
<?xml version="1.0" encoding="UTF-8"?>
<ssh_key>
  <resource_uid>RESOURCE_625502995</resource_uid>
  <name/>
  <links>
    <link rel="self" href="/api/clouds/888/ssh_keys/ABC1163003827DEF"/>
    <link rel="cloud" href="/api/clouds/888"/>
  </links>
  <actions/>
  <material>-----BEGIN RSA PRIVATE KEY-----
MIIEogIBAAKCAQEAv6WKOL7CUIj4eSdrqN2EX+HgDW2Nf+vj0yZeHVRD5FDznEu4
8lbSVh02QtQZnPRzqWYYpZpl9ImXJMA+jfB/4jwNixCdPW9mrPf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JkFTycaBxyv3GeOqUwWHEP/klqV/SoaA8
+O3ClIxMBx2v4o0l7upVAoGAEXGlPv1h8ywQYLEkEYYpwstqcvP/qgLS1UGszyQM
u0KPLyMerm9a40//i25wNo9vqjIfY03zPO4n9gv30aGmij4vx4PIUSg5/h5bDz/d
r53bxhWSuH2nL9mVSIaZaos1LHvafvkf+MMfgSuWt19sltlPdOGACb/NVFoMPDlB
DFsCgYEAnad1J5TrmjrWZPZ4cfKWzEJBYw5h6MGtuV5fuLCHKbh28NjYBF38Sl4m
bRtPkZnuA2kxsBc0BKhFSL963v5EEaj2uR1ksZxFgDlSdt6MeVSK5+LG82G2iwqq
cI0UJuC37BDDYVda9GG4YckqfS7gxOfq80vjNXZ+d8V3x51BM7A=
-----END RSA PRIVATE KEY-----
</material>
</ssh_key>

create

Creates a new ssh key.

URLs
POST /api/clouds/:cloud_id/ssh_keys
HTTP response code
201 Created
Location
Href of created SshKey.

Required roles

Parameters

name required type values regexp blank? description
ssh_key yes Hash * * no
ssh_key[name] yes String * * no The name for the SSH key to be created.

destroy

Deletes a given ssh key.

URLs
DELETE /api/clouds/:cloud_id/ssh_keys/:id
HTTP response code
204 No Content

Required roles