Skip to content

Commit 7989950

Browse files
Add Backdate Duration to Issuance Policy (GoogleCloudPlatform#13678)
1 parent fd1fa04 commit 7989950

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

mmv1/products/privateca/CaPool.yaml

+8
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,14 @@ properties:
129129
- 'ECDSA_P256'
130130
- 'ECDSA_P384'
131131
- 'EDDSA_25519'
132+
- name: 'backdateDuration'
133+
type: String
134+
description: |
135+
The duration to backdate all certificates issued from this CaPool. If not set, the
136+
certificates will be issued with a not_before_time of the issuance time (i.e. the current
137+
time). If set, the certificates will be issued with a not_before_time of the issuance
138+
time minus the backdate_duration. The not_after_time will be adjusted to preserve the
139+
requested lifetime. The backdate_duration must be less than or equal to 48 hours.
132140
- name: 'maximumLifetime'
133141
type: String
134142
description: |

mmv1/templates/terraform/examples/privateca_capool_all_fields.tf.tmpl

+1
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ resource "google_privateca_ca_pool" "{{$.PrimaryResourceId}}" {
2222
max_modulus_size = 10
2323
}
2424
}
25+
backdate_duration = "3600s"
2526
maximum_lifetime = "50000s"
2627
allowed_issuance_modes {
2728
allow_csr_based_issuance = true

0 commit comments

Comments
 (0)