Show / Hide Table of Contents

Class Mount

Example Usage

using Pulumi;
using Vault = Pulumi.Vault;

class MyStack : Stack
{
public MyStack()
{
    var example = new Vault.Mount("example", new Vault.MountArgs
    {
        Description = "This is an example mount",
        Path = "dummy",
        Type = "generic",
    });
}

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

Constructors

View Source

Mount(String, MountArgs, CustomResourceOptions)

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

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

The unique name of the resource

MountArgs 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

Accessor

The accessor for this mount.

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

DefaultLeaseTtlSeconds

Default lease duration for tokens and secrets in seconds

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

Description

Human-friendly description of the mount

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

Local

Boolean flag that can be explicitly set to true to enforce local mount in HA environment

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

MaxLeaseTtlSeconds

Maximum possible lease duration for tokens and secrets in seconds

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

Options

Specifies mount type specific options that are passed to the backend

Declaration
public Output<ImmutableDictionary<string, object>> Options { get; }
Property Value
Type Description
Output<System.Collections.Immutable.ImmutableDictionary<System.String, System.Object>>
View Source

Path

Where the secret backend will be mounted

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

SealWrap

Boolean flag that can be explicitly set to true to enable seal wrapping for the mount, causing values stored by the mount to be wrapped by the seal's encryption capability

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

Type

Type of the backend, such as "aws"

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

Methods

View Source

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

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

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

MountState state

Any extra arguments used during the lookup.

CustomResourceOptions options

A bag of options that control this resource's behavior

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