LocallySignedCertState class

Input properties used for looking up and filtering LocallySignedCert resources.

Constructors

LocallySignedCertState({Input<List<String>?>? allowedUses, Input<String?>? caCertPem, Input<String?>? caKeyAlgorithm, Input<String?>? caPrivateKeyPem, Input<String?>? caPrivateKeyPemWo, Input<int?>? caPrivateKeyPemWoVersion, Input<String?>? certPem, Input<String?>? certRequestPem, Input<int?>? earlyRenewalHours, Input<bool?>? isCaCertificate, Input<int?>? maxPathLength, Input<bool?>? readyForRenewal, Input<bool?>? setSubjectKeyId, Input<String?>? validityEndTime, Input<int?>? validityPeriodHours, Input<String?>? validityStartTime})
Creates a new LocallySignedCertState. allowedUses List of key usages allowed for the issued certificate. Values are defined in RFC 5280 and combine flags defined by both Key Usages and Extended Key Usages. Accepted values: anyExtended, certSigning, clientAuth, codeSigning, contentCommitment, crlSigning, dataEncipherment, decipherOnly, digitalSignature, emailProtection, encipherOnly, ipsecEndSystem, ipsecTunnel, ipsecUser, keyAgreement, keyEncipherment, microsoftCommercialCodeSigning, microsoftKernelCodeSigning, microsoftServerGatedCrypto, netscapeServerGatedCrypto, ocspSigning, serverAuth, timestamping. caCertPem Certificate data of the Certificate Authority (CA) in PEM (RFC 1421) format. caKeyAlgorithm Name of the algorithm used when generating the private key provided in caPrivateKeyPem. caPrivateKeyPem Private key of the Certificate Authority (CA) used to sign the certificate, in PEM (RFC 1421) format. Exactly one of caPrivateKeyPem or caPrivateKeyPemWo must be set. caPrivateKeyPemWo NOTE: This field is write-only and its value will not be updated in state as part of read operations. caPrivateKeyPemWoVersion The version of the caPrivateKeyPemWo write-only private key. Because the write-only key is not stored in state, this version is the only signal the provider has that the key changed: increment it to force the certificate to be re-issued when rotating the CA key. certPem Certificate data in PEM (RFC 1421) format. NOTE: the underlying libraries that generate this value append a \n at the end of the PEM. In case this disrupts your use case, we recommend using trimspace(). certRequestPem Certificate request data in PEM (RFC 1421) format. earlyRenewalHours The resource will consider the certificate to have expired the given number of hours before its actual expiry time. This can be useful to deploy an updated certificate in advance of the expiration of the current certificate. However, the old certificate remains valid until its true expiration time, since this resource does not (and cannot) support certificate revocation. Also, this advance update can only be performed should the Terraform configuration be applied during the early renewal period. (default: 0) isCaCertificate Is the generated certificate representing a Certificate Authority (CA) (default: false). maxPathLength Maximum number of intermediate certificates that may follow this certificate in a valid certification path. If isCaCertificate is false, this value is ignored. readyForRenewal Is the certificate either expired (i.e. beyond the validityPeriodHours) or ready for an early renewal (i.e. within the earlyRenewalHours)? setSubjectKeyId Should the generated certificate include a subject key identifier (default: false). validityEndTime The time until which the certificate is invalid, expressed as an RFC3339 timestamp. validityPeriodHours Number of hours, after initial issuing, that the certificate will remain valid for. validityStartTime The time after which the certificate is valid, expressed as an RFC3339 timestamp.
const
LocallySignedCertState.fromMap(Map<String, dynamic> map)
factory

Properties

allowedUses → Input<List<String>?>?
List of key usages allowed for the issued certificate. Values are defined in RFC 5280 and combine flags defined by both Key Usages and Extended Key Usages. Accepted values: anyExtended, certSigning, clientAuth, codeSigning, contentCommitment, crlSigning, dataEncipherment, decipherOnly, digitalSignature, emailProtection, encipherOnly, ipsecEndSystem, ipsecTunnel, ipsecUser, keyAgreement, keyEncipherment, microsoftCommercialCodeSigning, microsoftKernelCodeSigning, microsoftServerGatedCrypto, netscapeServerGatedCrypto, ocspSigning, serverAuth, timestamping.
final
caCertPem → Input<String?>?
Certificate data of the Certificate Authority (CA) in PEM (RFC 1421) format.
final
caKeyAlgorithm → Input<String?>?
Name of the algorithm used when generating the private key provided in caPrivateKeyPem.
final
caPrivateKeyPem → Input<String?>?
Private key of the Certificate Authority (CA) used to sign the certificate, in PEM (RFC 1421) format. Exactly one of caPrivateKeyPem or caPrivateKeyPemWo must be set.
final
caPrivateKeyPemWo → Input<String?>?
NOTE: This field is write-only and its value will not be updated in state as part of read operations. Write-only private key of the Certificate Authority (CA) used to sign the certificate, in PEM (RFC 1421) format. Unlike caPrivateKeyPem, the value provided here is never persisted to Terraform state. Requires caPrivateKeyPemWoVersion to be set, and exactly one of caPrivateKeyPem or caPrivateKeyPemWo must be set.
final
caPrivateKeyPemWoVersion → Input<int?>?
The version of the caPrivateKeyPemWo write-only private key. Because the write-only key is not stored in state, this version is the only signal the provider has that the key changed: increment it to force the certificate to be re-issued when rotating the CA key.
final
certPem → Input<String?>?
Certificate data in PEM (RFC 1421) format. NOTE: the underlying libraries that generate this value append a \n at the end of the PEM. In case this disrupts your use case, we recommend using trimspace().
final
certRequestPem → Input<String?>?
Certificate request data in PEM (RFC 1421) format.
final
earlyRenewalHours → Input<int?>?
The resource will consider the certificate to have expired the given number of hours before its actual expiry time. This can be useful to deploy an updated certificate in advance of the expiration of the current certificate. However, the old certificate remains valid until its true expiration time, since this resource does not (and cannot) support certificate revocation. Also, this advance update can only be performed should the Terraform configuration be applied during the early renewal period. (default: 0)
final
hashCode → int
The hash code for this object.
no setterinherited
isCaCertificate → Input<bool?>?
Is the generated certificate representing a Certificate Authority (CA) (default: false).
final
maxPathLength → Input<int?>?
Maximum number of intermediate certificates that may follow this certificate in a valid certification path. If isCaCertificate is false, this value is ignored.
final
readyForRenewal → Input<bool?>?
Is the certificate either expired (i.e. beyond the validityPeriodHours) or ready for an early renewal (i.e. within the earlyRenewalHours)?
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
setSubjectKeyId → Input<bool?>?
Should the generated certificate include a subject key identifier (default: false).
final
validityEndTime → Input<String?>?
The time until which the certificate is invalid, expressed as an RFC3339 timestamp.
final
validityPeriodHours → Input<int?>?
Number of hours, after initial issuing, that the certificate will remain valid for.
final
validityStartTime → Input<String?>?
The time after which the certificate is valid, expressed as an RFC3339 timestamp.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited