Show / Hide Table of Contents

Class AuthBackend

Example Usage

using Pulumi;
using Vault = Pulumi.Vault;

class MyStack : Stack
{
public MyStack()
{
    var example = new Vault.AuthBackend("example", new Vault.AuthBackendArgs
    {
        Tune = new Vault.Inputs.AuthBackendTuneArgs
        {
            ListingVisibility = "unauth",
            MaxLeaseTtl = "90000s",
        },
        Type = "github",
    });
}

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

Constructors

View Source

AuthBackend(String, AuthBackendArgs, CustomResourceOptions)

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

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

The unique name of the resource

AuthBackendArgs 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 auth method

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

DefaultLeaseTtlSeconds

(Optional; Deprecated, use tune.default_lease_ttl if you are using Vault provider version >= 1.8) The default lease duration in seconds.

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

Description

A description of the auth method

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

ListingVisibility

Specifies whether to show this mount in the UI-specific listing endpoint. Valid values are "unauth" or "hidden".

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

Local

Specifies if the auth method is local only.

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

MaxLeaseTtlSeconds

(Optional; Deprecated, use tune.max_lease_ttl if you are using Vault provider version >= 1.8) The maximum lease duration in seconds.

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

Path

The path to mount the auth method — this defaults to the name of the type

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

Tune

Extra configuration block. Structure is documented below.

Declaration
public Output<AuthBackendTune> Tune { get; }
Property Value
Type Description
Output<AuthBackendTune>
View Source

Type

The name of the auth method type

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

Methods

View Source

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

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

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

AuthBackendState state

Any extra arguments used during the lookup.

CustomResourceOptions options

A bag of options that control this resource's behavior

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