SecretBackend

Create a SecretBackend Resource

def SecretBackend(resource_name, opts=None, access_key=None, default_lease_ttl_seconds=None, description=None, max_lease_ttl_seconds=None, path=None, region=None, secret_key=None, __props__=None);
public SecretBackend(string name, SecretBackendArgs? args = null, CustomResourceOptions? opts = null)
name string
The unique name of the resource.
args SecretBackendArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
opts ResourceOptions
A bag of options that control this resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args SecretBackendArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args SecretBackendArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.

SecretBackend Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Programming Model docs.

Inputs

The SecretBackend resource accepts the following input properties:

AccessKey string

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.

DefaultLeaseTtlSeconds int

The default TTL for credentials issued by this backend.

Description string

A human-friendly description for this backend.

MaxLeaseTtlSeconds int

The maximum TTL that can be requested for credentials issued by this backend.

Path string

The unique path this backend should be mounted at. Must not begin or end with a /. Defaults to aws.

Region string

The AWS region for API calls. Defaults to us-east-1.

SecretKey string

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.

AccessKey string

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.

DefaultLeaseTtlSeconds int

The default TTL for credentials issued by this backend.

Description string

A human-friendly description for this backend.

MaxLeaseTtlSeconds int

The maximum TTL that can be requested for credentials issued by this backend.

Path string

The unique path this backend should be mounted at. Must not begin or end with a /. Defaults to aws.

Region string

The AWS region for API calls. Defaults to us-east-1.

SecretKey string

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.

accessKey string

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.

defaultLeaseTtlSeconds number

The default TTL for credentials issued by this backend.

description string

A human-friendly description for this backend.

maxLeaseTtlSeconds number

The maximum TTL that can be requested for credentials issued by this backend.

path string

The unique path this backend should be mounted at. Must not begin or end with a /. Defaults to aws.

region string

The AWS region for API calls. Defaults to us-east-1.

secretKey string

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.

access_key str

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.

default_lease_ttl_seconds float

The default TTL for credentials issued by this backend.

description str

A human-friendly description for this backend.

max_lease_ttl_seconds float

The maximum TTL that can be requested for credentials issued by this backend.

path str

The unique path this backend should be mounted at. Must not begin or end with a /. Defaults to aws.

region str

The AWS region for API calls. Defaults to us-east-1.

secret_key str

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.

Outputs

All input properties are implicitly available as output properties. Additionally, the SecretBackend resource produces the following output properties:

Id string
The provider-assigned unique ID for this managed resource.
Id string
The provider-assigned unique ID for this managed resource.
id string
The provider-assigned unique ID for this managed resource.
id str
The provider-assigned unique ID for this managed resource.

Look up an Existing SecretBackend Resource

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

public static get(name: string, id: Input<ID>, state?: SecretBackendState, opts?: CustomResourceOptions): SecretBackend
static get(resource_name, id, opts=None, access_key=None, default_lease_ttl_seconds=None, description=None, max_lease_ttl_seconds=None, path=None, region=None, secret_key=None, __props__=None);
func GetSecretBackend(ctx *Context, name string, id IDInput, state *SecretBackendState, opts ...ResourceOption) (*SecretBackend, error)
public static SecretBackend Get(string name, Input<string> id, SecretBackendState? state, CustomResourceOptions? opts = null)
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.

The following state arguments are supported:

AccessKey string

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.

DefaultLeaseTtlSeconds int

The default TTL for credentials issued by this backend.

Description string

A human-friendly description for this backend.

MaxLeaseTtlSeconds int

The maximum TTL that can be requested for credentials issued by this backend.

Path string

The unique path this backend should be mounted at. Must not begin or end with a /. Defaults to aws.

Region string

The AWS region for API calls. Defaults to us-east-1.

SecretKey string

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.

AccessKey string

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.

DefaultLeaseTtlSeconds int

The default TTL for credentials issued by this backend.

Description string

A human-friendly description for this backend.

MaxLeaseTtlSeconds int

The maximum TTL that can be requested for credentials issued by this backend.

Path string

The unique path this backend should be mounted at. Must not begin or end with a /. Defaults to aws.

Region string

The AWS region for API calls. Defaults to us-east-1.

SecretKey string

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.

accessKey string

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.

defaultLeaseTtlSeconds number

The default TTL for credentials issued by this backend.

description string

A human-friendly description for this backend.

maxLeaseTtlSeconds number

The maximum TTL that can be requested for credentials issued by this backend.

path string

The unique path this backend should be mounted at. Must not begin or end with a /. Defaults to aws.

region string

The AWS region for API calls. Defaults to us-east-1.

secretKey string

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.

access_key str

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.

default_lease_ttl_seconds float

The default TTL for credentials issued by this backend.

description str

A human-friendly description for this backend.

max_lease_ttl_seconds float

The maximum TTL that can be requested for credentials issued by this backend.

path str

The unique path this backend should be mounted at. Must not begin or end with a /. Defaults to aws.

region str

The AWS region for API calls. Defaults to us-east-1.

secret_key str

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.

Package Details

Repository
https://github.com/pulumi/pulumi-vault
License
Apache-2.0
Notes
This Pulumi package is based on the vault Terraform Provider.