LocallySignedCertState class
Input properties used for looking up and filtering LocallySignedCert resources.
Constructors
-
LocallySignedCertState({Input<
List< ? allowedUses, Input<String> ?>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.
allowedUsesList 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.caCertPemCertificate data of the Certificate Authority (CA) in PEM (RFC 1421) format.caKeyAlgorithmName of the algorithm used when generating the private key provided incaPrivateKeyPem.caPrivateKeyPemPrivate key of the Certificate Authority (CA) used to sign the certificate, in PEM (RFC 1421) format. Exactly one ofcaPrivateKeyPemorcaPrivateKeyPemWomust be set.caPrivateKeyPemWoNOTE: This field is write-only and its value will not be updated in state as part of read operations.caPrivateKeyPemWoVersionThe version of thecaPrivateKeyPemWowrite-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.certPemCertificate data in PEM (RFC 1421) format. NOTE: the underlying libraries that generate this value append a\nat the end of the PEM. In case this disrupts your use case, we recommend usingtrimspace().certRequestPemCertificate request data in PEM (RFC 1421) format.earlyRenewalHoursThe 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)isCaCertificateIs the generated certificate representing a Certificate Authority (CA) (default:false).maxPathLengthMaximum number of intermediate certificates that may follow this certificate in a valid certification path. IfisCaCertificateisfalse, this value is ignored.readyForRenewalIs the certificate either expired (i.e. beyond thevalidityPeriodHours) or ready for an early renewal (i.e. within theearlyRenewalHours)?setSubjectKeyIdShould the generated certificate include a subject key identifier (default:false).validityEndTimeThe time until which the certificate is invalid, expressed as an RFC3339 timestamp.validityPeriodHoursNumber of hours, after initial issuing, that the certificate will remain valid for.validityStartTimeThe 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
caPrivateKeyPemorcaPrivateKeyPemWomust 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. RequirescaPrivateKeyPemWoVersionto be set, and exactly one ofcaPrivateKeyPemorcaPrivateKeyPemWomust be set.final -
caPrivateKeyPemWoVersion
→ Input<
int?> ? -
The version of the
caPrivateKeyPemWowrite-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
\nat the end of the PEM. In case this disrupts your use case, we recommend usingtrimspace().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
isCaCertificateisfalse, 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 theearlyRenewalHours)?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