Show / Hide Table of Contents

Class SecretBackend

Creates an PKI Secret Backend for Vault. PKI secret backends can then issue certificates, once a role has been added to the backend.

Example Usage

using Pulumi;
using Vault = Pulumi.Vault;

class MyStack : Stack
{
public MyStack()
{
    var pki = new Vault.PkiSecret.SecretBackend("pki", new Vault.PkiSecret.SecretBackendArgs
    {
        DefaultLeaseTtlSeconds = 3600,
        MaxLeaseTtlSeconds = 86400,
        Path = "pki",
    });
}

}
Inheritance
System.Object
Resource
CustomResource
SecretBackend
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 SecretBackend : CustomResource

Constructors

View Source

SecretBackend(String, SecretBackendArgs, CustomResourceOptions)

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

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

The unique name of the resource

SecretBackendArgs 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

DefaultLeaseTtlSeconds

The default TTL for credentials issued by this backend.

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

Description

A human-friendly description for this backend.

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

MaxLeaseTtlSeconds

The maximum TTL that can be requested for credentials issued by this backend.

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

Path

The unique path this backend should be mounted at. Must not begin or end with a /.

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

Methods

View Source

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

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

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

SecretBackendState state

Any extra arguments used during the lookup.

CustomResourceOptions options

A bag of options that control this resource's behavior

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