Show / Hide Table of Contents

Class SelfSignedCert

Inheritance
System.Object
Resource
CustomResource
SelfSignedCert
Inherited Members
CustomResource.Id
Resource.GetResourceType()
Resource.GetResourceName()
Resource.Urn
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.Tls
Assembly: Pulumi.Tls.dll
Syntax
public class SelfSignedCert : CustomResource

Constructors

View Source

SelfSignedCert(String, SelfSignedCertArgs, CustomResourceOptions)

Create a SelfSignedCert resource with the given unique name, arguments, and options.

Declaration
public SelfSignedCert(string name, SelfSignedCertArgs args, CustomResourceOptions options = null)
Parameters
Type Name Description
System.String name

The unique name of the resource

SelfSignedCertArgs args

The arguments used to populate this resource's properties

CustomResourceOptions options

A bag of options that control this resource's behavior

Properties

View Source

AllowedUses

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>>
View Source

CertPem

The certificate data in PEM format.

Declaration
public Output<string> CertPem { get; }
Property Value
Type Description
Output<System.String>
View Source

DnsNames

List of DNS names for which a certificate is being requested.

Declaration
public Output<ImmutableArray<string>> DnsNames { get; }
Property Value
Type Description
Output<System.Collections.Immutable.ImmutableArray<System.String>>
View Source

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>>
View Source

IpAddresses

List of IP addresses for which a certificate is being requested.

Declaration
public Output<ImmutableArray<string>> IpAddresses { get; }
Property Value
Type Description
Output<System.Collections.Immutable.ImmutableArray<System.String>>
View Source

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>>
View Source

KeyAlgorithm

The name of the algorithm for the key provided in private_key_pem.

Declaration
public Output<string> KeyAlgorithm { get; }
Property Value
Type Description
Output<System.String>
View Source

PrivateKeyPem

PEM-encoded private key that the certificate will belong to

Declaration
public Output<string> PrivateKeyPem { get; }
Property Value
Type Description
Output<System.String>
View Source

ReadyForRenewal

Declaration
public Output<bool> ReadyForRenewal { get; }
Property Value
Type Description
Output<System.Boolean>
View Source

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>>
View Source

Subjects

The subject for which a certificate is being requested. This is a nested configuration block whose structure matches the corresponding block for tls..CertRequest.

Declaration
public Output<ImmutableArray<SelfSignedCertSubject>> Subjects { get; }
Property Value
Type Description
Output<System.Collections.Immutable.ImmutableArray<SelfSignedCertSubject>>
View Source

Uris

List of URIs for which a certificate is being requested.

Declaration
public Output<ImmutableArray<string>> Uris { get; }
Property Value
Type Description
Output<System.Collections.Immutable.ImmutableArray<System.String>>
View Source

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>
View Source

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>
View Source

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 Source

Get(String, Input<String>, SelfSignedCertState, CustomResourceOptions)

Get an existing SelfSignedCert resource's state with the given name, ID, and optional extra properties used to qualify the lookup.

Declaration
public static SelfSignedCert Get(string name, Input<string> id, SelfSignedCertState 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.

SelfSignedCertState state

Any extra arguments used during the lookup.

CustomResourceOptions options

A bag of options that control this resource's behavior

Returns
Type Description
SelfSignedCert
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.