Merge "Doc: Fix SSH keys documentation" into stable-2.16
This commit is contained in:
@@ -733,8 +733,8 @@ link:#ssh-key-info[SshKeyInfo] entities.
|
|||||||
[
|
[
|
||||||
{
|
{
|
||||||
"seq": 1,
|
"seq": 1,
|
||||||
"ssh_public_key": "ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEA0T...YImydZAw\u003d\u003d john.doe@example.com",
|
"ssh_public_key": "ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEA0T...YImydZAw== john.doe@example.com",
|
||||||
"encoded_key": "AAAAB3NzaC1yc2EAAAABIwAAAQEA0T...YImydZAw\u003d\u003d",
|
"encoded_key": "AAAAB3NzaC1yc2EAAAABIwAAAQEA0T...YImydZAw==",
|
||||||
"algorithm": "ssh-rsa",
|
"algorithm": "ssh-rsa",
|
||||||
"comment": "john.doe@example.com",
|
"comment": "john.doe@example.com",
|
||||||
"valid": true
|
"valid": true
|
||||||
@@ -767,8 +767,8 @@ describes the SSH key.
|
|||||||
)]}'
|
)]}'
|
||||||
{
|
{
|
||||||
"seq": 1,
|
"seq": 1,
|
||||||
"ssh_public_key": "ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEA0T...YImydZAw\u003d\u003d john.doe@example.com",
|
"ssh_public_key": "ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEA0T...YImydZAw== john.doe@example.com",
|
||||||
"encoded_key": "AAAAB3NzaC1yc2EAAAABIwAAAQEA0T...YImydZAw\u003d\u003d",
|
"encoded_key": "AAAAB3NzaC1yc2EAAAABIwAAAQEA0T...YImydZAw==",
|
||||||
"algorithm": "ssh-rsa",
|
"algorithm": "ssh-rsa",
|
||||||
"comment": "john.doe@example.com",
|
"comment": "john.doe@example.com",
|
||||||
"valid": true
|
"valid": true
|
||||||
@@ -793,7 +793,7 @@ key is persisted.
|
|||||||
POST /accounts/self/sshkeys HTTP/1.0
|
POST /accounts/self/sshkeys HTTP/1.0
|
||||||
Content-Type: text/plain
|
Content-Type: text/plain
|
||||||
|
|
||||||
AAAAB3NzaC1yc2EAAAABIwAAAQEA0T...YImydZAw\u003d\u003d
|
ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEA0T...YImydZAw== john.doe@example.com
|
||||||
----
|
----
|
||||||
|
|
||||||
As response an link:#ssh-key-info[SshKeyInfo] entity is returned that
|
As response an link:#ssh-key-info[SshKeyInfo] entity is returned that
|
||||||
@@ -808,8 +808,8 @@ describes the new SSH key.
|
|||||||
)]}'
|
)]}'
|
||||||
{
|
{
|
||||||
"seq": 2,
|
"seq": 2,
|
||||||
"ssh_public_key": "ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEA0T...YImydZAw\u003d\u003d john.doe@example.com",
|
"ssh_public_key": "ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEA0T...YImydZAw== john.doe@example.com",
|
||||||
"encoded_key": "AAAAB3NzaC1yc2EAAAABIwAAAQEA0T...YImydZAw\u003d\u003d",
|
"encoded_key": "AAAAB3NzaC1yc2EAAAABIwAAAQEA0T...YImydZAw==",
|
||||||
"algorithm": "ssh-rsa",
|
"algorithm": "ssh-rsa",
|
||||||
"comment": "john.doe@example.com",
|
"comment": "john.doe@example.com",
|
||||||
"valid": true
|
"valid": true
|
||||||
|
Reference in New Issue
Block a user