Returns details of the key_pair requested

Params

Param name Description
pretty
optional

Return a pretty formatted response if true, Default is false


Value: Must be a Boolean

Examples

Request - get details of the specified key_pair (key_pair_key specified as a part of the url)
  curl -X GET  -H "Content-Type:application/json" -H "X-Auth-Token:WtUFnj8pvSxVnH9e_xkq7A"  https://api.datonis.io/api/v3/key_pairs/t711t338ttf7b36c4cb27dc9d4acf62ta8c75a7f

Response (returns details of the key_pair requested)
{
  "key_pair": {
    "access_key": "t711t338ttf7b36c4cb27dc9d4acf62ta8c75a7f",
    "enabled": false,
    "expiry_date": "2015-10-29T18:30:00.000Z",
    "secret_key": "fte4bc52f791eb8513ac71a52ff5463t1bbf2tf9",
    "key_pair_key": "t711t338ttf7b36c4cb27dc9d4acf62ta8c75a7f",
    "created_at": 1446017446,
    "updated_at": 1446104758,
    "datonis_role_name": "Agent",
    "datonis_role_key": "1946c4ce5c"
  }
}