diff --git a/internal/host/plugin/host_catalog.go b/internal/host/plugin/host_catalog.go index 05320c550..8a29da5f8 100644 --- a/internal/host/plugin/host_catalog.go +++ b/internal/host/plugin/host_catalog.go @@ -133,7 +133,7 @@ func (agg *catalogAgg) toCatalogAndPersisted() (*HostCatalog, *HostCatalogSecret if len(agg.Secret) > 0 { s = allocHostCatalogSecret() s.CatalogId = agg.PublicId - s.Secret = agg.Secret + s.CtSecret = agg.Secret s.KeyId = agg.KeyId s.CreateTime = agg.PersistedCreateTime s.UpdateTime = agg.PersistedUpdateTime