Class CertAuthBackendRoleState
Inherited Members
Namespace: Pulumi.Vault
Assembly: Pulumi.Vault.dll
Syntax
public sealed class CertAuthBackendRoleState : ResourceArgs
Constructors
View SourceCertAuthBackendRoleState()
Declaration
public CertAuthBackendRoleState()
Properties
View SourceAllowedCommonNames
Allowed the common names for authenticated client certificates
Declaration
public InputList<string> AllowedCommonNames { get; set; }
Property Value
| Type | Description |
|---|---|
| InputList<System.String> |
AllowedDnsSans
Allowed alternative dns names for authenticated client certificates
Declaration
public InputList<string> AllowedDnsSans { get; set; }
Property Value
| Type | Description |
|---|---|
| InputList<System.String> |
AllowedEmailSans
Allowed emails for authenticated client certificates
Declaration
public InputList<string> AllowedEmailSans { get; set; }
Property Value
| Type | Description |
|---|---|
| InputList<System.String> |
AllowedNames
Allowed subject names for authenticated client certificates
Declaration
public InputList<string> AllowedNames { get; set; }
Property Value
| Type | Description |
|---|---|
| InputList<System.String> |
AllowedOrganizationUnits
Allowed organization units for authenticated client certificates
Declaration
public InputList<string> AllowedOrganizationUnits { get; set; }
Property Value
| Type | Description |
|---|---|
| InputList<System.String> |
AllowedUriSans
Allowed URIs for authenticated client certificates
Declaration
public InputList<string> AllowedUriSans { get; set; }
Property Value
| Type | Description |
|---|---|
| InputList<System.String> |
Backend
Path to the mounted Cert auth backend
Declaration
public Input<string> Backend { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
BoundCidrs
Restriction usage of the certificates to client IPs falling within the range of the specified CIDRs
Declaration
[Obsolete("use `token_bound_cidrs` instead if you are running Vault >= 1.2")]
public InputList<string> BoundCidrs { get; set; }
Property Value
| Type | Description |
|---|---|
| InputList<System.String> |
Certificate
CA certificate used to validate client certificates
Declaration
public Input<string> Certificate { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
DisplayName
The name to display on tokens issued under this role.
Declaration
public Input<string> DisplayName { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
MaxTtl
The maximum allowed lifetime of tokens issued using this role, provided as a number of seconds.
Declaration
public Input<string> MaxTtl { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Name
Name of the role
Declaration
public Input<string> Name { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Period
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.
Declaration
public Input<string> Period { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Policies
An array of strings specifying the policies to be set on tokens issued using this role.
Declaration
[Obsolete("use `token_policies` instead if you are running Vault >= 1.2")]
public InputList<string> Policies { get; set; }
Property Value
| Type | Description |
|---|---|
| InputList<System.String> |
RequiredExtensions
TLS extensions required on client certificates
Declaration
public InputList<string> RequiredExtensions { get; set; }
Property Value
| Type | Description |
|---|---|
| InputList<System.String> |
TokenBoundCidrs
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.
Declaration
public InputList<string> TokenBoundCidrs { get; set; }
Property Value
| Type | Description |
|---|---|
| InputList<System.String> |
TokenExplicitMaxTtl
If set, will encode an
explicit max TTL
onto the token in number of seconds. This is a hard cap even if token_ttl and
token_max_ttl would otherwise allow a renewal.
Declaration
public Input<int> TokenExplicitMaxTtl { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Int32> |
TokenMaxTtl
The maximum lifetime for generated tokens in number of seconds. Its current value will be referenced at renewal time.
Declaration
public Input<int> TokenMaxTtl { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Int32> |
TokenNoDefaultPolicy
If set, the default policy will not be set on generated tokens; otherwise it will be added to the policies set in token_policies.
Declaration
public Input<bool> TokenNoDefaultPolicy { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Boolean> |
TokenNumUses
The period, if any, in number of seconds to set on the token.
Declaration
public Input<int> TokenNumUses { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Int32> |
TokenPeriod
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.
Declaration
public Input<int> TokenPeriod { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Int32> |
TokenPolicies
List of policies to encode onto generated tokens. Depending on the auth method, this list may be supplemented by user/group/other values.
Declaration
public InputList<string> TokenPolicies { get; set; }
Property Value
| Type | Description |
|---|---|
| InputList<System.String> |
TokenTtl
The incremental lifetime for generated tokens in number of seconds. Its current value will be referenced at renewal time.
Declaration
public Input<int> TokenTtl { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Int32> |
TokenType
The type of token that should be generated. Can be service,
batch, or default to use the mount's tuned default (which unless changed will be
service tokens). For token store roles, there are two additional possibilities:
default-service and default-batch which specify the type to return unless the client
requests a different type at generation time.
Declaration
public Input<string> TokenType { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Ttl
The TTL period of tokens issued using this role, provided as a number of seconds.
Declaration
public Input<string> Ttl { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |