Search in sources :

Example 6 with ApacheSsl

use of com.netflix.spinnaker.halyard.config.model.v1.security.ApacheSsl in project halyard by spinnaker.

the class ApachePassphraseProfileFactory method getBindings.

@Override
protected Map<String, Object> getBindings(DeploymentConfiguration deploymentConfiguration, SpinnakerRuntimeSettings endpoints) {
    Map<String, Object> bindings = new HashMap<>();
    ApacheSsl ssl = deploymentConfiguration.getSecurity().getUiSecurity().getSsl();
    bindings.put("passphrase", ssl.getSslCertificatePassphrase());
    return bindings;
}
Also used : HashMap(java.util.HashMap) ApacheSsl(com.netflix.spinnaker.halyard.config.model.v1.security.ApacheSsl)

Aggregations

ApacheSsl (com.netflix.spinnaker.halyard.config.model.v1.security.ApacheSsl)5 UpdateRequestBuilder (com.netflix.spinnaker.halyard.core.DaemonResponse.UpdateRequestBuilder)2 ProblemSet (com.netflix.spinnaker.halyard.core.problem.v1.ProblemSet)2 Path (java.nio.file.Path)2 HashMap (java.util.HashMap)2 RequestMapping (org.springframework.web.bind.annotation.RequestMapping)2 OperationHandler (com.netflix.spinnaker.halyard.cli.services.v1.OperationHandler)1 SpringSsl (com.netflix.spinnaker.halyard.config.model.v1.security.SpringSsl)1 UiSecurity (com.netflix.spinnaker.halyard.config.model.v1.security.UiSecurity)1 StringResource (com.netflix.spinnaker.halyard.core.resource.v1.StringResource)1 TemplatedResource (com.netflix.spinnaker.halyard.core.resource.v1.TemplatedResource)1 ServiceSettings (com.netflix.spinnaker.halyard.deploy.spinnaker.v1.service.ServiceSettings)1