Class SecretBackend
Inherited Members
Namespace: Pulumi.Vault.Aws
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 = null, 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 SourceAccessKey
The AWS Access Key ID this backend should use to issue new credentials. Vault uses the official AWS SDK to authenticate, and thus can also use standard AWS environment credentials, shared file credentials or IAM role/ECS task credentials.
Declaration
public Output<string> AccessKey { 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.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.Int32> |
Path
The unique path this backend should be mounted at. Must
not begin or end with a /. Defaults to aws.
Declaration
public Output<string> Path { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Region
The AWS region for API calls. Defaults to us-east-1.
Declaration
public Output<string> Region { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
SecretKey
The AWS Secret Key this backend should use to issue new credentials. Vault uses the official AWS SDK to authenticate, and thus can also use standard AWS environment credentials, shared file credentials or IAM role/ECS task credentials.
Declaration
public Output<string> SecretKey { 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 |