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",
});
}
}
Inherited Members
Namespace: Pulumi.Vault
Assembly: Pulumi.Vault.dll
Syntax
public class Mount : CustomResource
Constructors
View SourceMount(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 SourceAccessor
The accessor for this mount.
Declaration
public Output<string> Accessor { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
DefaultLeaseTtlSeconds
Default lease duration for tokens and secrets in seconds
Declaration
public Output<int> DefaultLeaseTtlSeconds { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Int32> |
Description
Human-friendly description of the mount
Declaration
public Output<string> Description { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
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>> |
MaxLeaseTtlSeconds
Maximum possible lease duration for tokens and secrets in seconds
Declaration
public Output<int> MaxLeaseTtlSeconds { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Int32> |
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>> |
Path
Where the secret backend will be mounted
Declaration
public Output<string> Path { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
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> |
Type
Type of the backend, such as "aws"
Declaration
public Output<string> Type { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Methods
View SourceGet(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 |