chore(doc): clean up formatting
This commit is contained in:
parent
f3ba47ac89
commit
a594e053f5
@ -225,20 +225,20 @@ Using the field `coreos-ssh-import-github` you can make coreos-cloudinit to add
|
|||||||
|
|
||||||
users:
|
users:
|
||||||
- name: elroy
|
- name: elroy
|
||||||
coreos-ssh-import-github: elroy
|
coreos-ssh-import-github: elroy
|
||||||
```
|
```
|
||||||
|
|
||||||
#### Retrieving ssh authorized keys from an http endpoint
|
#### Retrieving ssh authorized keys from an http endpoint
|
||||||
|
|
||||||
Coreos-cloudinit can also pull authorized keys from any http endpoint that matches (GitHub's API response format)[http://developer.github.com/v3/users/keys/#list-public-keys-for-a-user].
|
coreos-cloudinit can also pull public SSH keys from any http endpoint that matches [GitHub's API response format](https://developer.github.com/v3/users/keys/#list-public-keys-for-a-user).
|
||||||
This is useful if you have an installation of GitHub Enterprise, you can provide a complete url with an authentication token:
|
For example, if you have an installation of GitHub Enterprise, you can provide a complete url with an authentication token:
|
||||||
|
|
||||||
```
|
```
|
||||||
#cloud-config
|
#cloud-config
|
||||||
|
|
||||||
users:
|
users:
|
||||||
- name: elroy
|
- name: elroy
|
||||||
coreos-ssh-import-url: https://token:[OAUTH-TOKEN]@githubenterprise.com/users/elroy/keys
|
coreos-ssh-import-url: https://token:<OAUTH-TOKEN>@github-enterprise.example.com/users/elroy/keys
|
||||||
```
|
```
|
||||||
|
|
||||||
You can also provide any url which response matches that json format for public keys:
|
You can also provide any url which response matches that json format for public keys:
|
||||||
@ -248,7 +248,7 @@ You can also provide any url which response matches that json format for public
|
|||||||
|
|
||||||
users:
|
users:
|
||||||
- name: elroy
|
- name: elroy
|
||||||
coreos-ssh-import-url: https://example.com/public-keys
|
coreos-ssh-import-url: https://example.com/public-keys
|
||||||
```
|
```
|
||||||
|
|
||||||
### write_files
|
### write_files
|
||||||
|
Loading…
Reference in New Issue
Block a user