v0.10.0
Changes
#30: New property "source" for fields and certificates to specify the source for the values or passwords.
Environmentalized Fields
For field values there are separate properties ("property" and "value") to configure the field value (see example below).
Old Format
{
"field#0": {
"property": null,
"type": "string",
"used": true,
"value": null
}
}
A new property "source" is introduced to specify the source of the field value.
The property defines the kind of the "value" property.
In case of "source" is equal to "value" the field value is directly configured by the value of the "value" property.
In case of "source" is equal to "property" the field value is retrieved from the property named by the "value" property.
New Format
{
"field#0": {
"source": "property",
"type": "string",
"used": true,
"value": "property.name"
},
"field#1": {
"source": "value",
"type": "string",
"used": true,
"value": "field value"
}
}
Certificates
For certificate passwords there are separate properties ("password" and "password-property") to configure the password (see example below).
Old Format
"update": {
"file": "cert/server.p12",
"password": "server.password",
"type": "p12"
}
...
"update": {
"file": "cert/server.p12",
"password-property": "property.name",
"type": "p12"
}
A new property "source" is introduced to specify the source of the certificate password.
The property defines the kind of the "password" property.
In case of "source" is equal to "password" the password is directly configured by the value of the "password" property.
In case of "source" is equal to "property" the password is retrieved form the property named by the "password" property.
New Format
"update": {
"file": "cert/server.p12",
"password": "server.password",
"source": "password",
"type": "p12"
}
...
"update": {
"file": "cert/server.p12",
"password": "property.name",
"source": "property",
"type": "p12"
}
Features
#29: Add support for environment variables for field and password configuration.
The source
property new supports a new value env
to specify an environment variable as the source for field values and certificate passwords.
Environmentalized Fields
"field#0": {
"source": "env",
"type": "string",
"used": true,
"value": "ENV_NAME"
}
Certificates
"update": {
"file": "cert/server.p12",
"password": "SERVER_PASSWORD",
"source": "env",
"type": "p12"
}