Skip to content

Commit

Permalink
feat: store domain and certUrl in vault secret
Browse files Browse the repository at this point in the history
  • Loading branch information
fgouteroux committed Dec 19, 2024
1 parent 3df2485 commit 1d9c55e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions certstore/certstore.go
Original file line number Diff line number Diff line change
Expand Up @@ -434,6 +434,8 @@ func createRemoteCertificateResource(certData cert.Certificate, logger log.Logge
"cert": resource.Certificate,
"key": resource.PrivateKey,
"issuer": resource.IssuerCertificate,
"url": resource.CertStableURL,
"domain": resource.Domain,
}
err = vault.GlobalClient.PutSecretWithAppRole(vaultSecretPath, data)
if err != nil {
Expand Down

0 comments on commit 1d9c55e

Please sign in to comment.