SSH Certificate Authorities
Create SSH Certificate Authority
Create a new SSH Certificate Authority
Request
POST /ssh_certificate_authorities
Example Request
Loading…
Parameters
Name | Type | Description |
---|---|---|
description | string | human-readable description of this SSH Certificate Authority. optional, max 255 bytes. |
metadata | string | arbitrary user-defined machine-readable data of this SSH Certificate Authority. optional, max 4096 bytes. |
private_key_type | string | the type of private key to generate. one of rsa , ecdsa , ed25519 |
elliptic_curve | string | the type of elliptic curve to use when creating an ECDSA key |
key_size | int64 | the key size to use when creating an RSA key. one of 2048 or 4096 |
Response
Returns a 201 response on success
Example Response
Loading…
Fields
Name | Type | Description |
---|---|---|
id | string | unique identifier for this SSH Certificate Authority |
uri | string | URI of the SSH Certificate Authority API resource |
created_at | string | timestamp when the SSH Certificate Authority API resource was created, RFC 3339 format |
description | string | human-readable description of this SSH Certificate Authority. optional, max 255 bytes. |
metadata | string | arbitrary user-defined machine-readable data of this SSH Certificate Authority. optional, max 4096 bytes. |
public_key | string | raw public key for this SSH Certificate Authority |
key_type | string | the type of private key for this SSH Certificate Authority |
Delete SSH Certificate Authority
Delete an SSH Certificate Authority
Request
DELETE /ssh_certificate_authorities/{id}
Example Request
Loading…
Response
Returns a 204 response with no body on success
Get SSH Certificate Authority
Get detailed information about an SSH Certficate Authority
Request
GET /ssh_certificate_authorities/{id}
Example Request
Loading…
Response
Returns a 200 response on success
Example Response
Loading…
Fields
Name | Type | Description |
---|---|---|
id | string | unique identifier for this SSH Certificate Authority |
uri | string | URI of the SSH Certificate Authority API resource |
created_at | string | timestamp when the SSH Certificate Authority API resource was created, RFC 3339 format |
description | string | human-readable description of this SSH Certificate Authority. optional, max 255 bytes. |
metadata | string | arbitrary user-defined machine-readable data of this SSH Certificate Authority. optional, max 4096 bytes. |
public_key | string | raw public key for this SSH Certificate Authority |
key_type | string | the type of private key for this SSH Certificate Authority |
List SSH Certificate Authorities
List all SSH Certificate Authorities on this account
Request
GET /ssh_certificate_authorities
Example Request
Loading…
Response
Returns a 200 response on success
Example Response
Loading…
Fields
Name | Type | Description |
---|---|---|
ssh_certificate_authorities | SSHCertificateAuthority | the list of all certificate authorities on this account |
uri | string | URI of the certificates authorities list API resource |
next_page_uri | string | URI of the next page, or null if there is no next page |
SSHCertificateAuthority fields
Name | Type | Description |
---|---|---|
id | string | unique identifier for this SSH Certificate Authority |
uri | string | URI of the SSH Certificate Authority API resource |
created_at | string | timestamp when the SSH Certificate Authority API resource was created, RFC 3339 format |
description | string | human-readable description of this SSH Certificate Authority. optional, max 255 bytes. |
metadata | string | arbitrary user-defined machine-readable data of this SSH Certificate Authority. optional, max 4096 bytes. |
public_key | string | raw public key for this SSH Certificate Authority |
key_type | string | the type of private key for this SSH Certificate Authority |
Update SSH Certificate Authority
Update an SSH Certificate Authority
Request
PATCH /ssh_certificate_authorities/{id}
Example Request
Loading…
Parameters
Name | Type | Description |
---|---|---|
id | string | |
description | string | human-readable description of this SSH Certificate Authority. optional, max 255 bytes. |
metadata | string | arbitrary user-defined machine-readable data of this SSH Certificate Authority. optional, max 4096 bytes. |
Response
Returns a 200 response on success
Example Response
Loading…
Fields
Name | Type | Description |
---|---|---|
id | string | unique identifier for this SSH Certificate Authority |
uri | string | URI of the SSH Certificate Authority API resource |
created_at | string | timestamp when the SSH Certificate Authority API resource was created, RFC 3339 format |
description | string | human-readable description of this SSH Certificate Authority. optional, max 255 bytes. |
metadata | string | arbitrary user-defined machine-readable data of this SSH Certificate Authority. optional, max 4096 bytes. |
public_key | string | raw public key for this SSH Certificate Authority |
key_type | string | the type of private key for this SSH Certificate Authority |