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",
});
}
}
Inherited Members
Namespace: Pulumi.Vault
Assembly: Pulumi.Vault.dll
Syntax
public class AuthBackend : CustomResource
Constructors
View SourceAuthBackend(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 SourceAccessor
The accessor for this auth method
Declaration
public Output<string> Accessor { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
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> |
Description
A description of the auth method
Declaration
public Output<string> Description { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
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> |
Local
Specifies if the auth method is local only.
Declaration
public Output<bool?> Local { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Nullable<System.Boolean>> |
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> |
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> |
Tune
Extra configuration block. Structure is documented below.
Declaration
public Output<AuthBackendTune> Tune { get; }
Property Value
| Type | Description |
|---|---|
| Output<AuthBackendTune> |
Type
The name of the auth method type
Declaration
public Output<string> Type { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Methods
View SourceGet(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 |