Skip to content

Commit

Permalink
Update example payload and response for pem_keys field which needs \n…
Browse files Browse the repository at this point in the history
… after header and before footer in order to be accepted as a valid RSA or ECDSA public key (#3632)
  • Loading branch information
lauradiane authored and jefferai committed Dec 4, 2017
1 parent 61eac77 commit 291edb9
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions website/source/api/auth/kubernetes/index.html.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ access the Kubernetes API.
{
"kubernetes_host": "https://192.168.99.100:8443",
"kubernetes_ca_cert": "-----BEGIN CERTIFICATE-----.....-----END CERTIFICATE-----",
"pem_keys": "-----BEGIN CERTIFICATE-----.....-----END CERTIFICATE-----"
"pem_keys": "-----BEGIN CERTIFICATE-----\n.....\n-----END CERTIFICATE-----"
}
```

Expand Down Expand Up @@ -83,7 +83,9 @@ $ curl \
"data":{
"kubernetes_host": "https://192.168.99.100:8443",
"kubernetes_ca_cert": "-----BEGIN CERTIFICATE-----.....-----END CERTIFICATE-----",
"pem_keys": "-----BEGIN CERTIFICATE-----.....-----END CERTIFICATE-----"
"pem_keys": "-----BEGIN CERTIFICATE-----
.....
-----END CERTIFICATE-----"
},
...
}
Expand Down

0 comments on commit 291edb9

Please sign in to comment.