Root Certificate certificate_ca

The certificate_ca resource allows you to create x509 Root Certificates and the associated Private Key.

The following parameters are available for creating certificate_ca resources, when a new resource is created jumppad will create the certificate and associated private key and write them to the output folder. Certificates do not perisist the lifecycle of a blueprint, when a blueprint is destroyed the created certs and keys are removed from the output folder.

Root Certificates have a pre-set Common Name corresponding to the name of the resource

Properties

  • Name
    output
    Type
    (string: "")
    Required
    required
    Readonly
    Description

    Output folder to write the certifcate and private key to.

  • Name
    private_key
    Type
    (file: {})
    Required
    Readonly
    readonly
    Description

    Details related to the private key generated by the certificate_ca resource.

  • Name
    public_key_pem
    Type
    (file: {})
    Required
    Readonly
    readonly
    Description

    Details related to the PEM encoded public key generated by the certificate_ca resource.

  • Name
    public_key_ssh
    Type
    (file: {})
    Required
    Readonly
    readonly
    Description

    Details related to the SSH encoded public key generated by the certificate_ca resource.

  • Name
    certificate
    Type
    (file: {})
    Required
    Readonly
    readonly
    Description

    Details related to the certificate generated by the certificate_ca resource.

Meta Properties

In addition to the main properties, all resources have meta properties, such as the id of the resource. To see the list of these properties please see the Meta Properties section in the documentation /docs/resources/meta.

Examples

resource "certificate_ca" "cd_consul_ca" {
  output = data("certs")
}