Show / Hide Table of Contents

Class SecretBackendRootSignIntermediate

Creates an PKI certificate.

Example Usage

using Pulumi;
using Vault = Pulumi.Vault;

class MyStack : Stack
{
public MyStack()
{
    var root = new Vault.PkiSecret.SecretBackendRootSignIntermediate("root", new Vault.PkiSecret.SecretBackendRootSignIntermediateArgs
    {
        Backend = vault_pki_secret_backend.Root.Path,
        Csr = vault_pki_secret_backend_intermediate_cert_request.Intermediate.Csr,
        CommonName = "Intermediate CA",
        ExcludeCnFromSans = true,
        Ou = "My OU",
        Organization = "My organization",
    });
}

}
Inheritance
System.Object
Resource
CustomResource
SecretBackendRootSignIntermediate
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.Vault.PkiSecret
Assembly: Pulumi.Vault.dll
Syntax
public class SecretBackendRootSignIntermediate : CustomResource

Constructors

View Source

SecretBackendRootSignIntermediate(String, SecretBackendRootSignIntermediateArgs, CustomResourceOptions)

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

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

The unique name of the resource

SecretBackendRootSignIntermediateArgs 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

AltNames

List of alternative names

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

Backend

The PKI secret backend the resource belongs to.

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

CaChain

The CA chain

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

Certificate

The certificate

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

CommonName

CN of intermediate to create

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

Country

The country

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

Csr

The CSR

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

ExcludeCnFromSans

Flag to exclude CN from SANs

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

Format

The format of data

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

IpSans

List of alternative IPs

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

IssuingCa

The issuing CA

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

Locality

The locality

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

MaxPathLength

The maximum path length to encode in the generated certificate

Declaration
public Output<int?> MaxPathLength { get; }
Property Value
Type Description
Output<System.Nullable<System.Int32>>
View Source

Organization

The organization

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

OtherSans

List of other SANs

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

Ou

The organization unit

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

PermittedDnsDomains

List of domains for which certificates are allowed to be issued

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

PostalCode

The postal code

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

Province

The province

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

Serial

The serial

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

StreetAddress

The street address

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

Ttl

Time to live

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

UriSans

List of alternative URIs

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

UseCsrValues

Preserve CSR values

Declaration
public Output<bool?> UseCsrValues { get; }
Property Value
Type Description
Output<System.Nullable<System.Boolean>>

Methods

View Source

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

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

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

SecretBackendRootSignIntermediateState state

Any extra arguments used during the lookup.

CustomResourceOptions options

A bag of options that control this resource's behavior

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