Class CertificateSetRequest
- Namespace
- Steeltoe.Security.DataProtection.CredHub
- Assembly
- Steeltoe.Security.DataProtection.CredHubBase.dll
public class CertificateSetRequest : CredentialSetRequest
- Inheritance
-
CertificateSetRequest
- Inherited Members
Constructors
CertificateSetRequest(string, string, string, string, string)
Initializes a new instance of the CertificateSetRequest class. For writing a certificate to CredHub
public CertificateSetRequest(string credentialName, string privateKey, string certificate, string certificateAuthority = null, string certificateAuthorityName = null)
Parameters
credentialNamestringName of credential to set
privateKeystringPrivate key value of credential to set
certificatestringCertificate value of credential to set
certificateAuthoritystringCertificate authority value of credential to set
certificateAuthorityNamestringName of CA credential in credhub that has signed this certificate
Remarks
Must include either the CA or CA Name