move caas certificate key removal to the provider backend
This commit is contained in:
@@ -27,6 +27,10 @@ function getFqdn(location, domain) {
|
||||
|
||||
function removePrivateFields(domainObject) {
|
||||
domainObject.config.token = domains.SECRET_PLACEHOLDER;
|
||||
|
||||
// do not return the 'key'. in caas, this is private
|
||||
delete domainObject.fallbackCertificate.key;
|
||||
|
||||
return domainObject;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user