Class LocallySignedCert
Inherited Members
Namespace: Pulumi.Tls
Assembly: Pulumi.Tls.dll
Syntax
public class LocallySignedCert : CustomResource
Constructors
View SourceLocallySignedCert(String, LocallySignedCertArgs, CustomResourceOptions)
Create a LocallySignedCert resource with the given unique name, arguments, and options.
Declaration
public LocallySignedCert(string name, LocallySignedCertArgs args, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resource |
| LocallySignedCertArgs | args | The arguments used to populate this resource's properties |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Properties
View SourceAllowedUses
List of keywords each describing a use that is permitted for the issued certificate. The valid keywords are listed below.
Declaration
public Output<ImmutableArray<string>> AllowedUses { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Collections.Immutable.ImmutableArray<System.String>> |
CaCertPem
PEM-encoded certificate data for the CA.
Declaration
public Output<string> CaCertPem { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
CaKeyAlgorithm
The name of the algorithm for the key provided
in ca_private_key_pem.
Declaration
public Output<string> CaKeyAlgorithm { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
CaPrivateKeyPem
PEM-encoded private key data for the CA.
This can be read from a separate file using the file interpolation
function.
Declaration
public Output<string> CaPrivateKeyPem { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
CertPem
The certificate data in PEM format.
Declaration
public Output<string> CertPem { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
CertRequestPem
PEM-encoded request certificate data.
Declaration
public Output<string> CertRequestPem { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
EarlyRenewalHours
Number of hours before the certificates expiry when a new certificate will be generated
Declaration
public Output<int?> EarlyRenewalHours { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Nullable<System.Int32>> |
IsCaCertificate
Boolean controlling whether the CA flag will be set in the
generated certificate. Defaults to false, meaning that the certificate does not represent
a certificate authority.
Declaration
public Output<bool?> IsCaCertificate { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Nullable<System.Boolean>> |
ReadyForRenewal
Declaration
public Output<bool> ReadyForRenewal { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Boolean> |
SetSubjectKeyId
If true, the certificate will include
the subject key identifier. Defaults to false, in which case the subject
key identifier is not set at all.
Declaration
public Output<bool?> SetSubjectKeyId { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Nullable<System.Boolean>> |
ValidityEndTime
The time until which the certificate is invalid, as an RFC3339 timestamp.
Declaration
public Output<string> ValidityEndTime { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
ValidityPeriodHours
The number of hours after initial issuing that the certificate will become invalid.
Declaration
public Output<int> ValidityPeriodHours { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Int32> |
ValidityStartTime
The time after which the certificate is valid, as an RFC3339 timestamp.
Declaration
public Output<string> ValidityStartTime { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Methods
View SourceGet(String, Input<String>, LocallySignedCertState, CustomResourceOptions)
Get an existing LocallySignedCert resource's state with the given name, ID, and optional extra properties used to qualify the lookup.
Declaration
public static LocallySignedCert Get(string name, Input<string> id, LocallySignedCertState state = null, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resulting resource. |
| Input<System.String> | id | The unique provider ID of the resource to lookup. |
| LocallySignedCertState | state | Any extra arguments used during the lookup. |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Returns
| Type | Description |
|---|---|
| LocallySignedCert |