Class SecretBackend
Inherited Members
Namespace: Pulumi.Vault.Consul
Assembly: Pulumi.Vault.dll
Syntax
public class SecretBackend : CustomResource
Constructors
View SourceSecretBackend(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 SourceAddress
Specifies the address of the Consul instance, provided as "host:port" like "127.0.0.1:8500".
Declaration
public Output<string> Address { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
DefaultLeaseTtlSeconds
The default TTL for credentials issued by this backend.
Declaration
public Output<int?> DefaultLeaseTtlSeconds { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Nullable<System.Int32>> |
Description
A human-friendly description for this backend.
Declaration
public Output<string> Description { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
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.Nullable<System.Int32>> |
Path
The unique location this backend should be mounted at. Must not begin or end with a /. Defaults to consul.
Declaration
public Output<string> Path { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Scheme
Specifies the URL scheme to use. Defaults to http.
Declaration
public Output<string> Scheme { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Token
The Consul management token this backend should use to issue new tokens.
Declaration
public Output<string> Token { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Methods
View SourceGet(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 |