Browse Source

add example for a user_certificate sign_request

master
Edoardo Putti 8 years ago
parent
commit
7ac268342d
1 changed files with 14 additions and 0 deletions
  1. +14
    -0
      README.md

+ 14
- 0
README.md View File

@ -28,6 +28,20 @@ The input must be a JSON file, e.g
the example is a `sign_request` for a ssh host certificate.
```JSON
{
"request": {
"keyType": "ssh_user",
"userName": "my_username",
"keyData": "ssh-ed25519 aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa my_username@my_hostname",
"rootRequested": true
},
"type": "sign_request"
}
```
This example is `sign_request` for a ssh user certificate with root access.
The shell just output a json with `status`, `reason`, `failed` and `msg` keys.
```JSON


Loading…
Cancel
Save