move caas certificate key removal to the provider backend

This commit is contained in:
Johannes Zellner
2019-02-08 11:13:36 +01:00
parent 32f8a52c2b
commit 79ae75030c
2 changed files with 4 additions and 1 deletions
+4
View File
@@ -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;
}