Ready to level-up your engineering skills? Join a Pulumi Workshop. Register Now

NomadSecretBackend

Import

Nomad secret backend can be imported using the backend, e.g.

 $ pulumi import vault:index/nomadSecretBackend:NomadSecretBackend nomad nomad

Create a NomadSecretBackend Resource

new NomadSecretBackend(name: string, args?: NomadSecretBackendArgs, opts?: CustomResourceOptions);
def NomadSecretBackend(resource_name: str, opts: Optional[ResourceOptions] = None, address: Optional[str] = None, backend: Optional[str] = None, ca_cert: Optional[str] = None, client_cert: Optional[str] = None, client_key: Optional[str] = None, default_lease_ttl_seconds: Optional[int] = None, description: Optional[str] = None, local: Optional[bool] = None, max_lease_ttl_seconds: Optional[int] = None, max_token_name_length: Optional[int] = None, max_ttl: Optional[int] = None, token: Optional[str] = None, ttl: Optional[int] = None)
func NewNomadSecretBackend(ctx *Context, name string, args *NomadSecretBackendArgs, opts ...ResourceOption) (*NomadSecretBackend, error)
public NomadSecretBackend(string name, NomadSecretBackendArgs? args = null, CustomResourceOptions? opts = null)
name string
The unique name of the resource.
args NomadSecretBackendArgs
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 NomadSecretBackendArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args NomadSecretBackendArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.

NomadSecretBackend Resource Properties

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

Inputs

The NomadSecretBackend resource accepts the following input properties:

Address string

Specifies the address of the Nomad instance, provided as “protocol://host:port” like “http://127.0.0.1:4646".

Backend string

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

CaCert string

CA certificate to use when verifying the Nomad server certificate, must be x509 PEM encoded.

ClientCert string

Client certificate to provide to the Nomad server, must be x509 PEM encoded.

ClientKey string

Client certificate key to provide to the Nomad server, must be x509 PEM encoded.

DefaultLeaseTtlSeconds int

Default lease duration for secrets in seconds.

Description string

Human-friendly description of the mount for the Active Directory backend.

Local bool

Mark the secrets engine as local-only. Local engines are not replicated or removed by replication.Tolerance duration to use when checking the last rotation time.

MaxLeaseTtlSeconds int

Maximum possible lease duration for secrets in seconds.

MaxTokenNameLength int

Specifies the maximum length to use for the name of the Nomad token generated with Generate Credential. If omitted, 0 is used and ignored, defaulting to the max value allowed by the Nomad version.

MaxTtl int

Maximum possible lease duration for secrets in seconds.

Token string

Specifies the Nomad Management token to use.

Ttl int

Specifies the ttl of the lease for the generated token.

Address string

Specifies the address of the Nomad instance, provided as “protocol://host:port” like “http://127.0.0.1:4646".

Backend string

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

CaCert string

CA certificate to use when verifying the Nomad server certificate, must be x509 PEM encoded.

ClientCert string

Client certificate to provide to the Nomad server, must be x509 PEM encoded.

ClientKey string

Client certificate key to provide to the Nomad server, must be x509 PEM encoded.

DefaultLeaseTtlSeconds int

Default lease duration for secrets in seconds.

Description string

Human-friendly description of the mount for the Active Directory backend.

Local bool

Mark the secrets engine as local-only. Local engines are not replicated or removed by replication.Tolerance duration to use when checking the last rotation time.

MaxLeaseTtlSeconds int

Maximum possible lease duration for secrets in seconds.

MaxTokenNameLength int

Specifies the maximum length to use for the name of the Nomad token generated with Generate Credential. If omitted, 0 is used and ignored, defaulting to the max value allowed by the Nomad version.

MaxTtl int

Maximum possible lease duration for secrets in seconds.

Token string

Specifies the Nomad Management token to use.

Ttl int

Specifies the ttl of the lease for the generated token.

address string

Specifies the address of the Nomad instance, provided as “protocol://host:port” like “http://127.0.0.1:4646".

backend string

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

caCert string

CA certificate to use when verifying the Nomad server certificate, must be x509 PEM encoded.

clientCert string

Client certificate to provide to the Nomad server, must be x509 PEM encoded.

clientKey string

Client certificate key to provide to the Nomad server, must be x509 PEM encoded.

defaultLeaseTtlSeconds number

Default lease duration for secrets in seconds.

description string

Human-friendly description of the mount for the Active Directory backend.

local boolean

Mark the secrets engine as local-only. Local engines are not replicated or removed by replication.Tolerance duration to use when checking the last rotation time.

maxLeaseTtlSeconds number

Maximum possible lease duration for secrets in seconds.

maxTokenNameLength number

Specifies the maximum length to use for the name of the Nomad token generated with Generate Credential. If omitted, 0 is used and ignored, defaulting to the max value allowed by the Nomad version.

maxTtl number

Maximum possible lease duration for secrets in seconds.

token string

Specifies the Nomad Management token to use.

ttl number

Specifies the ttl of the lease for the generated token.

address str

Specifies the address of the Nomad instance, provided as “protocol://host:port” like “http://127.0.0.1:4646".

backend str

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

ca_cert str

CA certificate to use when verifying the Nomad server certificate, must be x509 PEM encoded.

client_cert str

Client certificate to provide to the Nomad server, must be x509 PEM encoded.

client_key str

Client certificate key to provide to the Nomad server, must be x509 PEM encoded.

default_lease_ttl_seconds int

Default lease duration for secrets in seconds.

description str

Human-friendly description of the mount for the Active Directory backend.

local bool

Mark the secrets engine as local-only. Local engines are not replicated or removed by replication.Tolerance duration to use when checking the last rotation time.

max_lease_ttl_seconds int

Maximum possible lease duration for secrets in seconds.

max_token_name_length int

Specifies the maximum length to use for the name of the Nomad token generated with Generate Credential. If omitted, 0 is used and ignored, defaulting to the max value allowed by the Nomad version.

max_ttl int

Maximum possible lease duration for secrets in seconds.

token str

Specifies the Nomad Management token to use.

ttl int

Specifies the ttl of the lease for the generated token.

Outputs

All input properties are implicitly available as output properties. Additionally, the NomadSecretBackend 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 NomadSecretBackend Resource

Get an existing NomadSecretBackend 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?: NomadSecretBackendState, opts?: CustomResourceOptions): NomadSecretBackend
@staticmethod
def get(resource_name: str, id: str, opts: Optional[ResourceOptions] = None, address: Optional[str] = None, backend: Optional[str] = None, ca_cert: Optional[str] = None, client_cert: Optional[str] = None, client_key: Optional[str] = None, default_lease_ttl_seconds: Optional[int] = None, description: Optional[str] = None, local: Optional[bool] = None, max_lease_ttl_seconds: Optional[int] = None, max_token_name_length: Optional[int] = None, max_ttl: Optional[int] = None, token: Optional[str] = None, ttl: Optional[int] = None) -> NomadSecretBackend
func GetNomadSecretBackend(ctx *Context, name string, id IDInput, state *NomadSecretBackendState, opts ...ResourceOption) (*NomadSecretBackend, error)
public static NomadSecretBackend Get(string name, Input<string> id, NomadSecretBackendState? 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:

Address string

Specifies the address of the Nomad instance, provided as “protocol://host:port” like “http://127.0.0.1:4646".

Backend string

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

CaCert string

CA certificate to use when verifying the Nomad server certificate, must be x509 PEM encoded.

ClientCert string

Client certificate to provide to the Nomad server, must be x509 PEM encoded.

ClientKey string

Client certificate key to provide to the Nomad server, must be x509 PEM encoded.

DefaultLeaseTtlSeconds int

Default lease duration for secrets in seconds.

Description string

Human-friendly description of the mount for the Active Directory backend.

Local bool

Mark the secrets engine as local-only. Local engines are not replicated or removed by replication.Tolerance duration to use when checking the last rotation time.

MaxLeaseTtlSeconds int

Maximum possible lease duration for secrets in seconds.

MaxTokenNameLength int

Specifies the maximum length to use for the name of the Nomad token generated with Generate Credential. If omitted, 0 is used and ignored, defaulting to the max value allowed by the Nomad version.

MaxTtl int

Maximum possible lease duration for secrets in seconds.

Token string

Specifies the Nomad Management token to use.

Ttl int

Specifies the ttl of the lease for the generated token.

Address string

Specifies the address of the Nomad instance, provided as “protocol://host:port” like “http://127.0.0.1:4646".

Backend string

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

CaCert string

CA certificate to use when verifying the Nomad server certificate, must be x509 PEM encoded.

ClientCert string

Client certificate to provide to the Nomad server, must be x509 PEM encoded.

ClientKey string

Client certificate key to provide to the Nomad server, must be x509 PEM encoded.

DefaultLeaseTtlSeconds int

Default lease duration for secrets in seconds.

Description string

Human-friendly description of the mount for the Active Directory backend.

Local bool

Mark the secrets engine as local-only. Local engines are not replicated or removed by replication.Tolerance duration to use when checking the last rotation time.

MaxLeaseTtlSeconds int

Maximum possible lease duration for secrets in seconds.

MaxTokenNameLength int

Specifies the maximum length to use for the name of the Nomad token generated with Generate Credential. If omitted, 0 is used and ignored, defaulting to the max value allowed by the Nomad version.

MaxTtl int

Maximum possible lease duration for secrets in seconds.

Token string

Specifies the Nomad Management token to use.

Ttl int

Specifies the ttl of the lease for the generated token.

address string

Specifies the address of the Nomad instance, provided as “protocol://host:port” like “http://127.0.0.1:4646".

backend string

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

caCert string

CA certificate to use when verifying the Nomad server certificate, must be x509 PEM encoded.

clientCert string

Client certificate to provide to the Nomad server, must be x509 PEM encoded.

clientKey string

Client certificate key to provide to the Nomad server, must be x509 PEM encoded.

defaultLeaseTtlSeconds number

Default lease duration for secrets in seconds.

description string

Human-friendly description of the mount for the Active Directory backend.

local boolean

Mark the secrets engine as local-only. Local engines are not replicated or removed by replication.Tolerance duration to use when checking the last rotation time.

maxLeaseTtlSeconds number

Maximum possible lease duration for secrets in seconds.

maxTokenNameLength number

Specifies the maximum length to use for the name of the Nomad token generated with Generate Credential. If omitted, 0 is used and ignored, defaulting to the max value allowed by the Nomad version.

maxTtl number

Maximum possible lease duration for secrets in seconds.

token string

Specifies the Nomad Management token to use.

ttl number

Specifies the ttl of the lease for the generated token.

address str

Specifies the address of the Nomad instance, provided as “protocol://host:port” like “http://127.0.0.1:4646".

backend str

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

ca_cert str

CA certificate to use when verifying the Nomad server certificate, must be x509 PEM encoded.

client_cert str

Client certificate to provide to the Nomad server, must be x509 PEM encoded.

client_key str

Client certificate key to provide to the Nomad server, must be x509 PEM encoded.

default_lease_ttl_seconds int

Default lease duration for secrets in seconds.

description str

Human-friendly description of the mount for the Active Directory backend.

local bool

Mark the secrets engine as local-only. Local engines are not replicated or removed by replication.Tolerance duration to use when checking the last rotation time.

max_lease_ttl_seconds int

Maximum possible lease duration for secrets in seconds.

max_token_name_length int

Specifies the maximum length to use for the name of the Nomad token generated with Generate Credential. If omitted, 0 is used and ignored, defaulting to the max value allowed by the Nomad version.

max_ttl int

Maximum possible lease duration for secrets in seconds.

token str

Specifies the Nomad Management token to use.

ttl int

Specifies the ttl of the lease for the generated token.

Package Details

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