feat: retain encrypted instance credentials and reissue v2 certificates
Co-Authored-By: Craft Agent <agents-noreply@craft.do>
This commit is contained in:
@@ -48,7 +48,7 @@ func run() error {
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
httpapi.RegisterBusinessWithKeyring(router, db, cfg.SigningPrivateKeyPEM, ring)
|
||||
httpapi.RegisterBusinessWithKeyring(router, db, cfg.SigningPrivateKeyPEM, ring, cfg.CredentialEncryptionKey)
|
||||
}
|
||||
// Readiness is registered only on the loopback operations listener.
|
||||
if err := router.SetTrustedProxies(cfg.TrustedProxies); err != nil {
|
||||
|
||||
Reference in New Issue
Block a user