use of com.venafi.vcert.sdk.certificate.SshCaTemplateRequest in project vcert-java by Venafi.
the class TppTokenConnectorATForSSH method retrieveSshConfigFromCAName.
@Test
@DisplayName("TPP - Testing the retrieveSshConfig() method using CA name")
public void retrieveSshConfigFromCAName() throws VCertException, Exception {
SshCaTemplateRequest req = new SshCaTemplateRequest().template(System.getenv("TPP_SSH_CA"));
// getting the sshConfig of the SSH Cert CA
retrieveSshConfig(req);
}
use of com.venafi.vcert.sdk.certificate.SshCaTemplateRequest in project vcert-java by Venafi.
the class TppTokenConnectorATForSSH method retrieveSshConfigWithoutCredentialsFromCAName.
@Test
@Tag("AuthenticationUnneeded")
@DisplayName("TPP - Testing the retrieveSshConfig() method without authentication using CA name")
public void retrieveSshConfigWithoutCredentialsFromCAName() throws VCertException, Exception {
// Given this test is tagged as AuthenticationUnneeded, then the Authentication will not be performed
SshCaTemplateRequest req = new SshCaTemplateRequest().template(System.getenv("TPP_SSH_CA"));
// getting the sshConfig of the SSH Cert CA
retrieveSshConfigWithoutCredentials(req);
}
use of com.venafi.vcert.sdk.certificate.SshCaTemplateRequest in project vcert-java by Venafi.
the class TppConnectorATForSSH method retrieveSshConfigFromCAName.
@Test
@DisplayName("TPP - Testing the retrieveSshConfig() method using CA name")
public void retrieveSshConfigFromCAName() throws VCertException, Exception {
SshCaTemplateRequest req = new SshCaTemplateRequest().template(System.getenv("TPP_SSH_CA"));
// getting the sshConfig of the SSH Cert CA
retrieveSshConfig(req);
}
use of com.venafi.vcert.sdk.certificate.SshCaTemplateRequest in project vcert-java by Venafi.
the class TppConnectorATForSSH method retrieveSshConfigWithoutCredentialsFromCAName.
@Test
@Tag("AuthenticationUnneeded")
@DisplayName("TPP - Testing the retrieveSshConfig() method without authentication using CA name")
public void retrieveSshConfigWithoutCredentialsFromCAName() throws VCertException, Exception {
// Given this test is tagged as AuthenticationUnneeded, then the Authentication will not be performed
SshCaTemplateRequest req = new SshCaTemplateRequest().template(System.getenv("TPP_SSH_CA"));
// getting the sshConfig of the SSH Cert CA
retrieveSshConfigWithoutCredentials(req);
}
use of com.venafi.vcert.sdk.certificate.SshCaTemplateRequest in project vcert-java by Venafi.
the class TppConnectorATForSSH method retrieveSshConfigWithoutCredentialsFromCADN.
@Test
@Tag("AuthenticationUnneeded")
@DisplayName("TPP - Testing the retrieveSshConfig() method without authentication using CADN")
public void retrieveSshConfigWithoutCredentialsFromCADN() throws VCertException, Exception {
// Given this test is tagged as AuthenticationUnneeded, then the Authentication will not be performed
SshCaTemplateRequest req = new SshCaTemplateRequest().template(System.getenv("TPP_SSH_CADN"));
// getting the sshConfig of the SSH Cert CA
retrieveSshConfigWithoutCredentials(req);
}
Aggregations