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 Venafi Certificate and Key Policy Specification is a standard for defining constraints and recommendations that
govern key generation and certificate issuance. The specification is consumable by the VCert CLI and VCert-based
integrations like the Venafi Collection for Ansible and the
Venafi Provider for HashiCorp Terraform that support Certificate
Policy Management for Trust Protection Platform (TPP) and Venafi Control Plane (VCP).
Policy-as-Code Structure (JSON)
The structure of the Venafi Certificate and Key Policy Specification is shown below and is the same starter policy
that can be output by executing the vcert getpolicy --starter command. The specification has two sections, policy
and defaults. The policy section specifies values with which new certificate requests must comply and the defaults
section specifies values that are recommended for use in certificate requests when those values are not specified or
overridden. VCert also supports YAML formatted input specifications.
The elliptic curve that should be used by default: "P256", "P384", "P521" or "ED25519"
keyType
string
Key algorithm that should be used by default, "RSA" or "ECDSA"
rsaKeySize
integer
Number of bits that should be used by default for RSA keys: 512, 1024, 2048, 3072, or 4096
serviceGenerated
boolean
Indicates whether keys should be generated by the Venafi machine identity service by default
DefaultSubject
Parameter
Description
Data Type
country
string
ISO 3166 2-Alpha Country (C) code value that should be used by default (e.g. "US")
locality
string
City/Locality (L) value that should be used by default (e.g. "Salt Lake City")
org
string
Organization (O) value that should be used by default (e.g. "Example, Inc.")
orgUnits
array of string
Organizational Unit (OU) values that should be used by default (e.g. "Quality Assurance")
state
string
State/Province (ST) value that should be used by default (e.g. "Utah")
Policy
Parameter
Data Type
Description
autoInstalled
boolean
Indicates whether the requested certificate will be automatically installed (i.e. provisioned)
certificateAuthority
string
The distinguished name of a CA Template object. For example, "\VED\Policy\Certificate Authorites\Entrust Advantage"
CA Account Type ("DIGICERT", "ENTRUST", "GLOBALSIGN", or "BUILTIN"), CA Account Name (as it appears in the web console), and CA Product Type delimited by backslash characters. For example, "DIGICERT\My DigiCert Account\ssl_plus"
domains
array of string
Specifies domain suffixes that are permitted in Common Name (CN) and DNS Subject Alternative Name (SAN) values
The private key settings allowed for certificates requested using this policy
maxValidDays
integer
Number of days for which the requested certificate will be valid. May be ignored if the integration with the issuing CA does not support specific end dates.