Package com.ngrok.services
Class SshUserCertificates
java.lang.Object
com.ngrok.services.SshUserCertificates
SSH User Certificates are presented by SSH clients when connecting to an SSH
server to authenticate their connection. The SSH server must trust the SSH
Certificate Authority used to sign the certificate.
See also https://ngrok.com/docs/api#api-ssh-user-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
ConstructorDescriptionSshUserCertificates
(NgrokApiClient apiClient) Creates a new sub-client for SshUserCertificates. -
Method Summary
Modifier and TypeMethodDescriptionCreate a new SSH User Certificate See also https://ngrok.com/docs/api#api-ssh-user-certificates-create.Delete an SSH User Certificate See also https://ngrok.com/docs/api#api-ssh-user-certificates-delete.Get detailed information about an SSH User Certficate See also https://ngrok.com/docs/api#api-ssh-user-certificates-get.list()
List all SSH User Certificates issued on this account See also https://ngrok.com/docs/api#api-ssh-user-certificates-list.Update an SSH User Certificate See also https://ngrok.com/docs/api#api-ssh-user-certificates-update.
-
Constructor Details
-
SshUserCertificates
Creates a new sub-client for SshUserCertificates.- Parameters:
apiClient
- an instance ofNgrokApiClient
-
-
Method Details
-
create
public SshUserCertificates.CreateCallBuilder create(String sshCertificateAuthorityId, String publicKey) Create a new SSH User Certificate See also https://ngrok.com/docs/api#api-ssh-user-certificates-create.- Parameters:
sshCertificateAuthorityId
- the ssh certificate authority that is used to sign this ssh user 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 User Certificate See also https://ngrok.com/docs/api#api-ssh-user-certificates-delete.- Parameters:
id
- a resource identifier- Returns:
- a call builder for this API call
-
get
Get detailed information about an SSH User Certficate See also https://ngrok.com/docs/api#api-ssh-user-certificates-get.- Parameters:
id
- a resource identifier- Returns:
- a call builder for this API call
-
list
List all SSH User Certificates issued on this account See also https://ngrok.com/docs/api#api-ssh-user-certificates-list.- Returns:
- a call builder for this API call
-
update
Update an SSH User Certificate See also https://ngrok.com/docs/api#api-ssh-user-certificates-update.- Parameters:
id
- the value of theid
parameter as aString
- Returns:
- a call builder for this API call
-