CertAuthBackendRole
Provides a resource to create a role in an Cert auth backend within Vault.
Example Usage
using System.IO;
using Pulumi;
using Vault = Pulumi.Vault;
class MyStack : Stack
{
public MyStack()
{
var certAuthBackend = new Vault.AuthBackend("certAuthBackend", new Vault.AuthBackendArgs
{
Path = "cert",
Type = "cert",
});
var certCertAuthBackendRole = new Vault.CertAuthBackendRole("certCertAuthBackendRole", new Vault.CertAuthBackendRoleArgs
{
Certificate = File.ReadAllText("/path/to/certs/ca-cert.pem"),
Backend = certAuthBackend.Path,
AllowedNames =
{
"foo.example.org",
"baz.example.org",
},
TokenTtl = 300,
TokenMaxTtl = 600,
TokenPolicies =
{
"foo",
},
});
}
}
Coming soon!
import pulumi
import pulumi_vault as vault
cert_auth_backend = vault.AuthBackend("certAuthBackend",
path="cert",
type="cert")
cert_cert_auth_backend_role = vault.CertAuthBackendRole("certCertAuthBackendRole",
certificate=(lambda path: open(path).read())("/path/to/certs/ca-cert.pem"),
backend=cert_auth_backend.path,
allowed_names=[
"foo.example.org",
"baz.example.org",
],
token_ttl=300,
token_max_ttl=600,
token_policies=["foo"])import * as pulumi from "@pulumi/pulumi";
import * as vault from "@pulumi/vault";
import * from "fs";
const certAuthBackend = new vault.AuthBackend("certAuthBackend", {
path: "cert",
type: "cert",
});
const certCertAuthBackendRole = new vault.CertAuthBackendRole("certCertAuthBackendRole", {
certificate: fs.readFileSync("/path/to/certs/ca-cert.pem"),
backend: certAuthBackend.path,
allowedNames: [
"foo.example.org",
"baz.example.org",
],
tokenTtl: 300,
tokenMaxTtl: 600,
tokenPolicies: ["foo"],
});Create a CertAuthBackendRole Resource
new CertAuthBackendRole(name: string, args: CertAuthBackendRoleArgs, opts?: CustomResourceOptions);def CertAuthBackendRole(resource_name, opts=None, allowed_common_names=None, allowed_dns_sans=None, allowed_email_sans=None, allowed_names=None, allowed_organization_units=None, allowed_uri_sans=None, backend=None, bound_cidrs=None, certificate=None, display_name=None, max_ttl=None, name=None, period=None, policies=None, required_extensions=None, token_bound_cidrs=None, token_explicit_max_ttl=None, token_max_ttl=None, token_no_default_policy=None, token_num_uses=None, token_period=None, token_policies=None, token_ttl=None, token_type=None, ttl=None, __props__=None);func NewCertAuthBackendRole(ctx *Context, name string, args CertAuthBackendRoleArgs, opts ...ResourceOption) (*CertAuthBackendRole, error)public CertAuthBackendRole(string name, CertAuthBackendRoleArgs args, CustomResourceOptions? opts = null)- name string
- The unique name of the resource.
- args CertAuthBackendRoleArgs
- 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 CertAuthBackendRoleArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args CertAuthBackendRoleArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
CertAuthBackendRole Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Programming Model docs.
Inputs
The CertAuthBackendRole resource accepts the following input properties:
- Certificate string
CA certificate used to validate client certificates
- Allowed
Common List<string>Names Allowed the common names for authenticated client certificates
- Allowed
Dns List<string>Sans Allowed alternative dns names for authenticated client certificates
- Allowed
Email List<string>Sans Allowed emails for authenticated client certificates
- Allowed
Names List<string> Allowed subject names for authenticated client certificates
- Allowed
Organization List<string>Units Allowed organization units for authenticated client certificates
- Allowed
Uri List<string>Sans Allowed URIs for authenticated client certificates
- Backend string
Path to the mounted Cert auth backend
- Bound
Cidrs List<string> Restriction usage of the certificates to client IPs falling within the range of the specified CIDRs
- Display
Name string The name to display on tokens issued under this role.
- Max
Ttl string The maximum allowed lifetime of tokens issued using this role, provided as a number of seconds.
- Name string
Name of the role
- Period string
If set, indicates that the token generated using this role should never expire. The token should be renewed within the duration specified by this value. At each renewal, the token’s TTL will be set to the value of this field. Specified in seconds.
- Policies List<string>
An array of strings specifying the policies to be set on tokens issued using this role.
- Required
Extensions List<string> TLS extensions required on client certificates
- Token
Bound List<string>Cidrs List of CIDR blocks; if set, specifies blocks of IP addresses which can authenticate successfully, and ties the resulting token to these blocks as well.
- Token
Explicit intMax Ttl If set, will encode an explicit max TTL onto the token in number of seconds. This is a hard cap even if
token_ttlandtoken_max_ttlwould otherwise allow a renewal.- Token
Max intTtl The maximum lifetime for generated tokens in number of seconds. Its current value will be referenced at renewal time.
- Token
No boolDefault Policy If set, the default policy will not be set on generated tokens; otherwise it will be added to the policies set in token_policies.
- Token
Num intUses The period, if any, in number of seconds to set on the token.
- Token
Period int If set, indicates that the token generated using this role should never expire. The token should be renewed within the duration specified by this value. At each renewal, the token’s TTL will be set to the value of this field. Specified in seconds.
- Token
Policies List<string> List of policies to encode onto generated tokens. Depending on the auth method, this list may be supplemented by user/group/other values.
- Token
Ttl int The incremental lifetime for generated tokens in number of seconds. Its current value will be referenced at renewal time.
- Token
Type string The type of token that should be generated. Can be
service,batch, ordefaultto use the mount’s tuned default (which unless changed will beservicetokens). For token store roles, there are two additional possibilities:default-serviceanddefault-batchwhich specify the type to return unless the client requests a different type at generation time.- Ttl string
The TTL period of tokens issued using this role, provided as a number of seconds.
- Certificate string
CA certificate used to validate client certificates
- Allowed
Common []stringNames Allowed the common names for authenticated client certificates
- Allowed
Dns []stringSans Allowed alternative dns names for authenticated client certificates
- Allowed
Email []stringSans Allowed emails for authenticated client certificates
- Allowed
Names []string Allowed subject names for authenticated client certificates
- Allowed
Organization []stringUnits Allowed organization units for authenticated client certificates
- Allowed
Uri []stringSans Allowed URIs for authenticated client certificates
- Backend string
Path to the mounted Cert auth backend
- Bound
Cidrs []string Restriction usage of the certificates to client IPs falling within the range of the specified CIDRs
- Display
Name string The name to display on tokens issued under this role.
- Max
Ttl string The maximum allowed lifetime of tokens issued using this role, provided as a number of seconds.
- Name string
Name of the role
- Period string
If set, indicates that the token generated using this role should never expire. The token should be renewed within the duration specified by this value. At each renewal, the token’s TTL will be set to the value of this field. Specified in seconds.
- Policies []string
An array of strings specifying the policies to be set on tokens issued using this role.
- Required
Extensions []string TLS extensions required on client certificates
- Token
Bound []stringCidrs List of CIDR blocks; if set, specifies blocks of IP addresses which can authenticate successfully, and ties the resulting token to these blocks as well.
- Token
Explicit intMax Ttl If set, will encode an explicit max TTL onto the token in number of seconds. This is a hard cap even if
token_ttlandtoken_max_ttlwould otherwise allow a renewal.- Token
Max intTtl The maximum lifetime for generated tokens in number of seconds. Its current value will be referenced at renewal time.
- Token
No boolDefault Policy If set, the default policy will not be set on generated tokens; otherwise it will be added to the policies set in token_policies.
- Token
Num intUses The period, if any, in number of seconds to set on the token.
- Token
Period int If set, indicates that the token generated using this role should never expire. The token should be renewed within the duration specified by this value. At each renewal, the token’s TTL will be set to the value of this field. Specified in seconds.
- Token
Policies []string List of policies to encode onto generated tokens. Depending on the auth method, this list may be supplemented by user/group/other values.
- Token
Ttl int The incremental lifetime for generated tokens in number of seconds. Its current value will be referenced at renewal time.
- Token
Type string The type of token that should be generated. Can be
service,batch, ordefaultto use the mount’s tuned default (which unless changed will beservicetokens). For token store roles, there are two additional possibilities:default-serviceanddefault-batchwhich specify the type to return unless the client requests a different type at generation time.- Ttl string
The TTL period of tokens issued using this role, provided as a number of seconds.
- certificate string
CA certificate used to validate client certificates
- allowed
Common string[]Names Allowed the common names for authenticated client certificates
- allowed
Dns string[]Sans Allowed alternative dns names for authenticated client certificates
- allowed
Email string[]Sans Allowed emails for authenticated client certificates
- allowed
Names string[] Allowed subject names for authenticated client certificates
- allowed
Organization string[]Units Allowed organization units for authenticated client certificates
- allowed
Uri string[]Sans Allowed URIs for authenticated client certificates
- backend string
Path to the mounted Cert auth backend
- bound
Cidrs string[] Restriction usage of the certificates to client IPs falling within the range of the specified CIDRs
- display
Name string The name to display on tokens issued under this role.
- max
Ttl string The maximum allowed lifetime of tokens issued using this role, provided as a number of seconds.
- name string
Name of the role
- period string
If set, indicates that the token generated using this role should never expire. The token should be renewed within the duration specified by this value. At each renewal, the token’s TTL will be set to the value of this field. Specified in seconds.
- policies string[]
An array of strings specifying the policies to be set on tokens issued using this role.
- required
Extensions string[] TLS extensions required on client certificates
- token
Bound string[]Cidrs List of CIDR blocks; if set, specifies blocks of IP addresses which can authenticate successfully, and ties the resulting token to these blocks as well.
- token
Explicit numberMax Ttl If set, will encode an explicit max TTL onto the token in number of seconds. This is a hard cap even if
token_ttlandtoken_max_ttlwould otherwise allow a renewal.- token
Max numberTtl The maximum lifetime for generated tokens in number of seconds. Its current value will be referenced at renewal time.
- token
No booleanDefault Policy If set, the default policy will not be set on generated tokens; otherwise it will be added to the policies set in token_policies.
- token
Num numberUses The period, if any, in number of seconds to set on the token.
- token
Period number If set, indicates that the token generated using this role should never expire. The token should be renewed within the duration specified by this value. At each renewal, the token’s TTL will be set to the value of this field. Specified in seconds.
- token
Policies string[] List of policies to encode onto generated tokens. Depending on the auth method, this list may be supplemented by user/group/other values.
- token
Ttl number The incremental lifetime for generated tokens in number of seconds. Its current value will be referenced at renewal time.
- token
Type string The type of token that should be generated. Can be
service,batch, ordefaultto use the mount’s tuned default (which unless changed will beservicetokens). For token store roles, there are two additional possibilities:default-serviceanddefault-batchwhich specify the type to return unless the client requests a different type at generation time.- ttl string
The TTL period of tokens issued using this role, provided as a number of seconds.
- certificate str
CA certificate used to validate client certificates
- allowed_
common_ List[str]names Allowed the common names for authenticated client certificates
- allowed_
dns_ List[str]sans Allowed alternative dns names for authenticated client certificates
- allowed_
email_ List[str]sans Allowed emails for authenticated client certificates
- allowed_
names List[str] Allowed subject names for authenticated client certificates
- allowed_
organization_ List[str]units Allowed organization units for authenticated client certificates
- allowed_
uri_ List[str]sans Allowed URIs for authenticated client certificates
- backend str
Path to the mounted Cert auth backend
- bound_
cidrs List[str] Restriction usage of the certificates to client IPs falling within the range of the specified CIDRs
- display_
name str The name to display on tokens issued under this role.
- max_
ttl str The maximum allowed lifetime of tokens issued using this role, provided as a number of seconds.
- name str
Name of the role
- period str
If set, indicates that the token generated using this role should never expire. The token should be renewed within the duration specified by this value. At each renewal, the token’s TTL will be set to the value of this field. Specified in seconds.
- policies List[str]
An array of strings specifying the policies to be set on tokens issued using this role.
- required_
extensions List[str] TLS extensions required on client certificates
- token_
bound_ List[str]cidrs List of CIDR blocks; if set, specifies blocks of IP addresses which can authenticate successfully, and ties the resulting token to these blocks as well.
- token_
explicit_ floatmax_ ttl If set, will encode an explicit max TTL onto the token in number of seconds. This is a hard cap even if
token_ttlandtoken_max_ttlwould otherwise allow a renewal.- token_
max_ floatttl The maximum lifetime for generated tokens in number of seconds. Its current value will be referenced at renewal time.
- token_
no_ booldefault_ policy If set, the default policy will not be set on generated tokens; otherwise it will be added to the policies set in token_policies.
- token_
num_ floatuses The period, if any, in number of seconds to set on the token.
- token_
period float If set, indicates that the token generated using this role should never expire. The token should be renewed within the duration specified by this value. At each renewal, the token’s TTL will be set to the value of this field. Specified in seconds.
- token_
policies List[str] List of policies to encode onto generated tokens. Depending on the auth method, this list may be supplemented by user/group/other values.
- token_
ttl float The incremental lifetime for generated tokens in number of seconds. Its current value will be referenced at renewal time.
- token_
type str The type of token that should be generated. Can be
service,batch, ordefaultto use the mount’s tuned default (which unless changed will beservicetokens). For token store roles, there are two additional possibilities:default-serviceanddefault-batchwhich specify the type to return unless the client requests a different type at generation time.- ttl str
The TTL period of tokens issued using this role, provided as a number of seconds.
Outputs
All input properties are implicitly available as output properties. Additionally, the CertAuthBackendRole resource produces the following output properties:
Look up an Existing CertAuthBackendRole Resource
Get an existing CertAuthBackendRole 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?: CertAuthBackendRoleState, opts?: CustomResourceOptions): CertAuthBackendRolestatic get(resource_name, id, opts=None, allowed_common_names=None, allowed_dns_sans=None, allowed_email_sans=None, allowed_names=None, allowed_organization_units=None, allowed_uri_sans=None, backend=None, bound_cidrs=None, certificate=None, display_name=None, max_ttl=None, name=None, period=None, policies=None, required_extensions=None, token_bound_cidrs=None, token_explicit_max_ttl=None, token_max_ttl=None, token_no_default_policy=None, token_num_uses=None, token_period=None, token_policies=None, token_ttl=None, token_type=None, ttl=None, __props__=None);func GetCertAuthBackendRole(ctx *Context, name string, id IDInput, state *CertAuthBackendRoleState, opts ...ResourceOption) (*CertAuthBackendRole, error)public static CertAuthBackendRole Get(string name, Input<string> id, CertAuthBackendRoleState? 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:
- Allowed
Common List<string>Names Allowed the common names for authenticated client certificates
- Allowed
Dns List<string>Sans Allowed alternative dns names for authenticated client certificates
- Allowed
Email List<string>Sans Allowed emails for authenticated client certificates
- Allowed
Names List<string> Allowed subject names for authenticated client certificates
- Allowed
Organization List<string>Units Allowed organization units for authenticated client certificates
- Allowed
Uri List<string>Sans Allowed URIs for authenticated client certificates
- Backend string
Path to the mounted Cert auth backend
- Bound
Cidrs List<string> Restriction usage of the certificates to client IPs falling within the range of the specified CIDRs
- Certificate string
CA certificate used to validate client certificates
- Display
Name string The name to display on tokens issued under this role.
- Max
Ttl string The maximum allowed lifetime of tokens issued using this role, provided as a number of seconds.
- Name string
Name of the role
- Period string
If set, indicates that the token generated using this role should never expire. The token should be renewed within the duration specified by this value. At each renewal, the token’s TTL will be set to the value of this field. Specified in seconds.
- Policies List<string>
An array of strings specifying the policies to be set on tokens issued using this role.
- Required
Extensions List<string> TLS extensions required on client certificates
- Token
Bound List<string>Cidrs List of CIDR blocks; if set, specifies blocks of IP addresses which can authenticate successfully, and ties the resulting token to these blocks as well.
- Token
Explicit intMax Ttl If set, will encode an explicit max TTL onto the token in number of seconds. This is a hard cap even if
token_ttlandtoken_max_ttlwould otherwise allow a renewal.- Token
Max intTtl The maximum lifetime for generated tokens in number of seconds. Its current value will be referenced at renewal time.
- Token
No boolDefault Policy If set, the default policy will not be set on generated tokens; otherwise it will be added to the policies set in token_policies.
- Token
Num intUses The period, if any, in number of seconds to set on the token.
- Token
Period int If set, indicates that the token generated using this role should never expire. The token should be renewed within the duration specified by this value. At each renewal, the token’s TTL will be set to the value of this field. Specified in seconds.
- Token
Policies List<string> List of policies to encode onto generated tokens. Depending on the auth method, this list may be supplemented by user/group/other values.
- Token
Ttl int The incremental lifetime for generated tokens in number of seconds. Its current value will be referenced at renewal time.
- Token
Type string The type of token that should be generated. Can be
service,batch, ordefaultto use the mount’s tuned default (which unless changed will beservicetokens). For token store roles, there are two additional possibilities:default-serviceanddefault-batchwhich specify the type to return unless the client requests a different type at generation time.- Ttl string
The TTL period of tokens issued using this role, provided as a number of seconds.
- Allowed
Common []stringNames Allowed the common names for authenticated client certificates
- Allowed
Dns []stringSans Allowed alternative dns names for authenticated client certificates
- Allowed
Email []stringSans Allowed emails for authenticated client certificates
- Allowed
Names []string Allowed subject names for authenticated client certificates
- Allowed
Organization []stringUnits Allowed organization units for authenticated client certificates
- Allowed
Uri []stringSans Allowed URIs for authenticated client certificates
- Backend string
Path to the mounted Cert auth backend
- Bound
Cidrs []string Restriction usage of the certificates to client IPs falling within the range of the specified CIDRs
- Certificate string
CA certificate used to validate client certificates
- Display
Name string The name to display on tokens issued under this role.
- Max
Ttl string The maximum allowed lifetime of tokens issued using this role, provided as a number of seconds.
- Name string
Name of the role
- Period string
If set, indicates that the token generated using this role should never expire. The token should be renewed within the duration specified by this value. At each renewal, the token’s TTL will be set to the value of this field. Specified in seconds.
- Policies []string
An array of strings specifying the policies to be set on tokens issued using this role.
- Required
Extensions []string TLS extensions required on client certificates
- Token
Bound []stringCidrs List of CIDR blocks; if set, specifies blocks of IP addresses which can authenticate successfully, and ties the resulting token to these blocks as well.
- Token
Explicit intMax Ttl If set, will encode an explicit max TTL onto the token in number of seconds. This is a hard cap even if
token_ttlandtoken_max_ttlwould otherwise allow a renewal.- Token
Max intTtl The maximum lifetime for generated tokens in number of seconds. Its current value will be referenced at renewal time.
- Token
No boolDefault Policy If set, the default policy will not be set on generated tokens; otherwise it will be added to the policies set in token_policies.
- Token
Num intUses The period, if any, in number of seconds to set on the token.
- Token
Period int If set, indicates that the token generated using this role should never expire. The token should be renewed within the duration specified by this value. At each renewal, the token’s TTL will be set to the value of this field. Specified in seconds.
- Token
Policies []string List of policies to encode onto generated tokens. Depending on the auth method, this list may be supplemented by user/group/other values.
- Token
Ttl int The incremental lifetime for generated tokens in number of seconds. Its current value will be referenced at renewal time.
- Token
Type string The type of token that should be generated. Can be
service,batch, ordefaultto use the mount’s tuned default (which unless changed will beservicetokens). For token store roles, there are two additional possibilities:default-serviceanddefault-batchwhich specify the type to return unless the client requests a different type at generation time.- Ttl string
The TTL period of tokens issued using this role, provided as a number of seconds.
- allowed
Common string[]Names Allowed the common names for authenticated client certificates
- allowed
Dns string[]Sans Allowed alternative dns names for authenticated client certificates
- allowed
Email string[]Sans Allowed emails for authenticated client certificates
- allowed
Names string[] Allowed subject names for authenticated client certificates
- allowed
Organization string[]Units Allowed organization units for authenticated client certificates
- allowed
Uri string[]Sans Allowed URIs for authenticated client certificates
- backend string
Path to the mounted Cert auth backend
- bound
Cidrs string[] Restriction usage of the certificates to client IPs falling within the range of the specified CIDRs
- certificate string
CA certificate used to validate client certificates
- display
Name string The name to display on tokens issued under this role.
- max
Ttl string The maximum allowed lifetime of tokens issued using this role, provided as a number of seconds.
- name string
Name of the role
- period string
If set, indicates that the token generated using this role should never expire. The token should be renewed within the duration specified by this value. At each renewal, the token’s TTL will be set to the value of this field. Specified in seconds.
- policies string[]
An array of strings specifying the policies to be set on tokens issued using this role.
- required
Extensions string[] TLS extensions required on client certificates
- token
Bound string[]Cidrs List of CIDR blocks; if set, specifies blocks of IP addresses which can authenticate successfully, and ties the resulting token to these blocks as well.
- token
Explicit numberMax Ttl If set, will encode an explicit max TTL onto the token in number of seconds. This is a hard cap even if
token_ttlandtoken_max_ttlwould otherwise allow a renewal.- token
Max numberTtl The maximum lifetime for generated tokens in number of seconds. Its current value will be referenced at renewal time.
- token
No booleanDefault Policy If set, the default policy will not be set on generated tokens; otherwise it will be added to the policies set in token_policies.
- token
Num numberUses The period, if any, in number of seconds to set on the token.
- token
Period number If set, indicates that the token generated using this role should never expire. The token should be renewed within the duration specified by this value. At each renewal, the token’s TTL will be set to the value of this field. Specified in seconds.
- token
Policies string[] List of policies to encode onto generated tokens. Depending on the auth method, this list may be supplemented by user/group/other values.
- token
Ttl number The incremental lifetime for generated tokens in number of seconds. Its current value will be referenced at renewal time.
- token
Type string The type of token that should be generated. Can be
service,batch, ordefaultto use the mount’s tuned default (which unless changed will beservicetokens). For token store roles, there are two additional possibilities:default-serviceanddefault-batchwhich specify the type to return unless the client requests a different type at generation time.- ttl string
The TTL period of tokens issued using this role, provided as a number of seconds.
- allowed_
common_ List[str]names Allowed the common names for authenticated client certificates
- allowed_
dns_ List[str]sans Allowed alternative dns names for authenticated client certificates
- allowed_
email_ List[str]sans Allowed emails for authenticated client certificates
- allowed_
names List[str] Allowed subject names for authenticated client certificates
- allowed_
organization_ List[str]units Allowed organization units for authenticated client certificates
- allowed_
uri_ List[str]sans Allowed URIs for authenticated client certificates
- backend str
Path to the mounted Cert auth backend
- bound_
cidrs List[str] Restriction usage of the certificates to client IPs falling within the range of the specified CIDRs
- certificate str
CA certificate used to validate client certificates
- display_
name str The name to display on tokens issued under this role.
- max_
ttl str The maximum allowed lifetime of tokens issued using this role, provided as a number of seconds.
- name str
Name of the role
- period str
If set, indicates that the token generated using this role should never expire. The token should be renewed within the duration specified by this value. At each renewal, the token’s TTL will be set to the value of this field. Specified in seconds.
- policies List[str]
An array of strings specifying the policies to be set on tokens issued using this role.
- required_
extensions List[str] TLS extensions required on client certificates
- token_
bound_ List[str]cidrs List of CIDR blocks; if set, specifies blocks of IP addresses which can authenticate successfully, and ties the resulting token to these blocks as well.
- token_
explicit_ floatmax_ ttl If set, will encode an explicit max TTL onto the token in number of seconds. This is a hard cap even if
token_ttlandtoken_max_ttlwould otherwise allow a renewal.- token_
max_ floatttl The maximum lifetime for generated tokens in number of seconds. Its current value will be referenced at renewal time.
- token_
no_ booldefault_ policy If set, the default policy will not be set on generated tokens; otherwise it will be added to the policies set in token_policies.
- token_
num_ floatuses The period, if any, in number of seconds to set on the token.
- token_
period float If set, indicates that the token generated using this role should never expire. The token should be renewed within the duration specified by this value. At each renewal, the token’s TTL will be set to the value of this field. Specified in seconds.
- token_
policies List[str] List of policies to encode onto generated tokens. Depending on the auth method, this list may be supplemented by user/group/other values.
- token_
ttl float The incremental lifetime for generated tokens in number of seconds. Its current value will be referenced at renewal time.
- token_
type str The type of token that should be generated. Can be
service,batch, ordefaultto use the mount’s tuned default (which unless changed will beservicetokens). For token store roles, there are two additional possibilities:default-serviceanddefault-batchwhich specify the type to return unless the client requests a different type at generation time.- ttl str
The TTL period of tokens issued using this role, provided as a number of seconds.
Package Details
- Repository
- https://github.com/pulumi/pulumi-vault
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
vaultTerraform Provider.