GET api/FoxPass/Sshkey/{username}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
username

string

Required

Body Parameters

None.

Response Information

Resource Description

Collection of sshkeyPack
NameDescriptionTypeAdditional information
name

string

None.

signature

string

None.

key

string

None.

is_active

boolean

None.

key_type

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "name": "sample string 1",
    "signature": "sample string 2",
    "key": "sample string 3",
    "is_active": true,
    "key_type": "sample string 5"
  },
  {
    "name": "sample string 1",
    "signature": "sample string 2",
    "key": "sample string 3",
    "is_active": true,
    "key_type": "sample string 5"
  }
]

application/xml, text/xml

Sample:
<ArrayOfFoxpassAPI.sshkeyPack xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/iMOE_Back_End">
  <FoxpassAPI.sshkeyPack>
    <is_active>true</is_active>
    <key>sample string 3</key>
    <key_type>sample string 5</key_type>
    <name>sample string 1</name>
    <signature>sample string 2</signature>
  </FoxpassAPI.sshkeyPack>
  <FoxpassAPI.sshkeyPack>
    <is_active>true</is_active>
    <key>sample string 3</key>
    <key_type>sample string 5</key_type>
    <name>sample string 1</name>
    <signature>sample string 2</signature>
  </FoxpassAPI.sshkeyPack>
</ArrayOfFoxpassAPI.sshkeyPack>