You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The change adds a framework for the Safenet Luna Security Provider.
This framework is triggered by a service with the name 'luna' in it.
It depends on that service having the HSM host, host-certificate,
client, and client-certificate. In also expects users to provide a
repository with the Luna Client binaries in it.
[#96530962][#99962452]
The Luna Security Provider Framework causes an application to be automatically configured to work with a bound [Luna Security Service][]. **Note:** This framework is disabled by default.
3
+
4
+
<table>
5
+
<tr>
6
+
<td><strong>Detection Criterion</strong></td>
7
+
<td>Existence of a single bound Luna Security Provider service. The existence of an Luna Security service defined by the <a href="http://docs.cloudfoundry.org/devguide/deploy-apps/environment-variable.html#VCAP-SERVICES"><code>VCAP_SERVICES</code></a> payload containing a service name, label or tag with <code>luna</code> as a substring.
Tags are printed to standard output by the buildpack detect script
16
+
17
+
## User-Provided Service
18
+
When binding to the Luna Security Provider using a user-provided service, it must have name or tag with `luna` in it. The credential payload can contain the following entries:
19
+
20
+
| Name | Description
21
+
| ---- | -----------
22
+
| `host` | The controller host name
23
+
| `host-certificate` | A PEM encoded host certificate
24
+
| `client-private-key` | A PEM encoded client private key
25
+
| `client-certificate` | A PEM encoded client certificate
26
+
27
+
To provide more complex values such as the PEM certificates, using the interactive mode when creating a user-provided service will manage the character escaping automatically.
28
+
29
+
## Configuration
30
+
For general information on configuring the buildpack, refer to [Configuration and Extension][].
31
+
32
+
The framework can be configured by modifying the [`config/luna_security_provider.yml`][] file in the buildpack. The framework uses the [`Repository` utility support][repositories] and so it supports the [version syntax][] defined there.
33
+
34
+
| Name | Description
35
+
| ---- | -----------
36
+
| `repository_root` | The URL of the Luna Security Provider repository index ([details][repositories]).
37
+
| `version` | Version of the Luna Security Provider to use.
38
+
39
+
### Additional Resources
40
+
The framework can also be configured by overlaying a set of resources on the default distribution. To do this, add files to the `resources/luna_security_provider` directory in the buildpack fork.
0 commit comments