Package com.ngrok.services
Class SshHostCertificates
java.lang.Object
com.ngrok.services.SshHostCertificates
SSH Host Certificates along with the corresponding private key allows an SSH
server to assert its authenticity to connecting SSH clients who trust the
SSH Certificate Authority that was used to sign the certificate.
See also https://ngrok.com/docs/api#api-ssh-host-certificates.
-
Nested Class Summary
Modifier and TypeClassDescriptionclass
A builder object encapsulating state for an unsent Create API call.class
A builder object encapsulating state for an unsent Delete API call.class
A builder object encapsulating state for an unsent Get API call.class
A builder object encapsulating state for an unsent List API call.class
A builder object encapsulating state for an unsent Update API call. -
Constructor Summary
ConstructorDescriptionSshHostCertificates
(NgrokApiClient apiClient) Creates a new sub-client for SshHostCertificates. -
Method Summary
Modifier and TypeMethodDescriptionCreate a new SSH Host Certificate See also https://ngrok.com/docs/api#api-ssh-host-certificates-create.Delete an SSH Host Certificate See also https://ngrok.com/docs/api#api-ssh-host-certificates-delete.Get detailed information about an SSH Host Certficate See also https://ngrok.com/docs/api#api-ssh-host-certificates-get.list()
List all SSH Host Certificates issued on this account See also https://ngrok.com/docs/api#api-ssh-host-certificates-list.Update an SSH Host Certificate See also https://ngrok.com/docs/api#api-ssh-host-certificates-update.
-
Constructor Details
-
SshHostCertificates
Creates a new sub-client for SshHostCertificates.- Parameters:
apiClient
- an instance ofNgrokApiClient
-
-
Method Details
-
create
public SshHostCertificates.CreateCallBuilder create(String sshCertificateAuthorityId, String publicKey) Create a new SSH Host Certificate See also https://ngrok.com/docs/api#api-ssh-host-certificates-create.- Parameters:
sshCertificateAuthorityId
- the ssh certificate authority that is used to sign this ssh host certificatepublicKey
- a public key in OpenSSH Authorized Keys format that this certificate signs- Returns:
- a call builder for this API call
-
delete
Delete an SSH Host Certificate See also https://ngrok.com/docs/api#api-ssh-host-certificates-delete.- Parameters:
id
- a resource identifier- Returns:
- a call builder for this API call
-
get
Get detailed information about an SSH Host Certficate See also https://ngrok.com/docs/api#api-ssh-host-certificates-get.- Parameters:
id
- a resource identifier- Returns:
- a call builder for this API call
-
list
List all SSH Host Certificates issued on this account See also https://ngrok.com/docs/api#api-ssh-host-certificates-list.- Returns:
- a call builder for this API call
-
update
Update an SSH Host Certificate See also https://ngrok.com/docs/api#api-ssh-host-certificates-update.- Parameters:
id
- the value of theid
parameter as aString
- Returns:
- a call builder for this API call
-