Skip to content

Use StepAbs for all files in the ca.json #372

@maraino

Description

@maraino

Description

Currently, some files in the ca.json, like the certificate templates, can be configured relative to the STEPPATH, for example, if a template file is set in the ca.json to "templates/x509/leaf.tpl" the location of the file would be relative to the STEPPATH, it will be $(step path)/templates/x509/leaf.tpl.

We should make this functionality available across all the files in the ca.json. That way, we can have things like:

{
   "root": "certs/root_ca.crt",
   "crt": "certs/intermediate_ca.crt",
   "key": "secrets/intermeidate_ca_key",
   "...": {}
}

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions