Class KeyfactorSSHStore

java.lang.Object
com.strongdm.api.KeyfactorSSHStore
All Implemented Interfaces:
SecretStore

public class KeyfactorSSHStore extends Object implements SecretStore
  • Constructor Details

    • KeyfactorSSHStore

      public KeyfactorSSHStore()
  • Method Details

    • getCaFilePath

      public String getCaFilePath()
      Path to the root CA that signed the certificate passed to the client for HTTPS connection. This is not required if the CA is trusted by the host operating system. This should be a PEM formatted certificate, and doesn't necessarily have to be the CA that signed CertificateFile.
    • setCaFilePath

      public void setCaFilePath(String in)
      Path to the root CA that signed the certificate passed to the client for HTTPS connection. This is not required if the CA is trusted by the host operating system. This should be a PEM formatted certificate, and doesn't necessarily have to be the CA that signed CertificateFile.
    • getCertificateFilePath

      public String getCertificateFilePath()
      Path to client certificate in PEM format. This certificate must contain a client certificate that is recognized by the EJBCA instance represented by Hostname. This PEM file may also contain the private key associated with the certificate, but KeyFile can also be set to configure the private key.
    • setCertificateFilePath

      public void setCertificateFilePath(String in)
      Path to client certificate in PEM format. This certificate must contain a client certificate that is recognized by the EJBCA instance represented by Hostname. This PEM file may also contain the private key associated with the certificate, but KeyFile can also be set to configure the private key.
    • getDefaultCertificateAuthorityName

      public String getDefaultCertificateAuthorityName()
      Name of EJBCA certificate authority that will enroll CSR.
    • setDefaultCertificateAuthorityName

      public void setDefaultCertificateAuthorityName(String in)
      Name of EJBCA certificate authority that will enroll CSR.
    • getDefaultCertificateProfileName

      public String getDefaultCertificateProfileName()
      Certificate profile name that EJBCA will enroll the CSR with.
    • setDefaultCertificateProfileName

      public void setDefaultCertificateProfileName(String in)
      Certificate profile name that EJBCA will enroll the CSR with.
    • getDefaultEndEntityProfileName

      public String getDefaultEndEntityProfileName()
      End entity profile that EJBCA will enroll the CSR with.
    • setDefaultEndEntityProfileName

      public void setDefaultEndEntityProfileName(String in)
      End entity profile that EJBCA will enroll the CSR with.
    • getEnrollmentCodeEnvVar

      public String getEnrollmentCodeEnvVar()
      code used by EJBCA during enrollment. May be left blank if no code is required.
    • setEnrollmentCodeEnvVar

      public void setEnrollmentCodeEnvVar(String in)
      code used by EJBCA during enrollment. May be left blank if no code is required.
    • getEnrollmentUsernameEnvVar

      public String getEnrollmentUsernameEnvVar()
      username that used by the EJBCA during enrollment. This can be left out. If so, the username must be auto-generated on the Keyfactor side.
    • setEnrollmentUsernameEnvVar

      public void setEnrollmentUsernameEnvVar(String in)
      username that used by the EJBCA during enrollment. This can be left out. If so, the username must be auto-generated on the Keyfactor side.
    • getId

      public String getId()
      Unique identifier of the SecretStore.
      Specified by:
      getId in interface SecretStore
    • setId

      public void setId(String in)
      Unique identifier of the SecretStore.
    • getKeyFilePath

      public String getKeyFilePath()
      Path to private key in PEM format. This file should contain the private key associated with the client certificate configured in CertificateFile.
    • setKeyFilePath

      public void setKeyFilePath(String in)
      Path to private key in PEM format. This file should contain the private key associated with the client certificate configured in CertificateFile.
    • getName

      public String getName()
      Unique human-readable name of the SecretStore.
      Specified by:
      getName in interface SecretStore
    • setName

      public void setName(String in)
      Unique human-readable name of the SecretStore.
      Specified by:
      setName in interface SecretStore
    • getServerAddress

      public String getServerAddress()
      the host of the Key Factor CA
    • setServerAddress

      public void setServerAddress(String in)
      the host of the Key Factor CA
    • getTags

      public Map<String,String> getTags()
      Tags is a map of key, value pairs.
      Specified by:
      getTags in interface SecretStore
    • setTags

      public void setTags(Map<String,String> in)
      Tags is a map of key, value pairs.
      Specified by:
      setTags in interface SecretStore