Documentation ¶
Index ¶
- type Args
- type Resource
- func (vjab *Resource) Attributes() vaultJwtAuthBackendAttributes
- func (vjab *Resource) Configuration() interface{}
- func (vjab *Resource) DependOn() terra.Reference
- func (vjab *Resource) Dependencies() terra.Dependencies
- func (vjab *Resource) ImportState(state io.Reader) error
- func (vjab *Resource) LifecycleManagement() *terra.Lifecycle
- func (vjab *Resource) LocalName() string
- func (vjab *Resource) State() (*vaultJwtAuthBackendState, bool)
- func (vjab *Resource) StateMust() *vaultJwtAuthBackendState
- func (vjab *Resource) Type() string
- type Tune
- type TuneAttributes
- func (t TuneAttributes) AllowedResponseHeaders() terra.ListValue[terra.StringValue]
- func (t TuneAttributes) AuditNonHmacRequestKeys() terra.ListValue[terra.StringValue]
- func (t TuneAttributes) AuditNonHmacResponseKeys() terra.ListValue[terra.StringValue]
- func (t TuneAttributes) DefaultLeaseTtl() terra.StringValue
- func (t TuneAttributes) InternalRef() (terra.Reference, error)
- func (t TuneAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (t TuneAttributes) InternalWithRef(ref terra.Reference) TuneAttributes
- func (t TuneAttributes) ListingVisibility() terra.StringValue
- func (t TuneAttributes) MaxLeaseTtl() terra.StringValue
- func (t TuneAttributes) PassthroughRequestHeaders() terra.ListValue[terra.StringValue]
- func (t TuneAttributes) TokenType() terra.StringValue
- type TuneState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Args ¶
type Args struct { // BoundIssuer: string, optional BoundIssuer terra.StringValue `hcl:"bound_issuer,attr"` // DefaultRole: string, optional DefaultRole terra.StringValue `hcl:"default_role,attr"` // Description: string, optional Description terra.StringValue `hcl:"description,attr"` // DisableRemount: bool, optional DisableRemount terra.BoolValue `hcl:"disable_remount,attr"` // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // JwksCaPem: string, optional JwksCaPem terra.StringValue `hcl:"jwks_ca_pem,attr"` // JwksUrl: string, optional JwksUrl terra.StringValue `hcl:"jwks_url,attr"` // JwtSupportedAlgs: list of string, optional JwtSupportedAlgs terra.ListValue[terra.StringValue] `hcl:"jwt_supported_algs,attr"` // JwtValidationPubkeys: list of string, optional JwtValidationPubkeys terra.ListValue[terra.StringValue] `hcl:"jwt_validation_pubkeys,attr"` // Local: bool, optional Local terra.BoolValue `hcl:"local,attr"` // Namespace: string, optional Namespace terra.StringValue `hcl:"namespace,attr"` // NamespaceInState: bool, optional NamespaceInState terra.BoolValue `hcl:"namespace_in_state,attr"` // OidcClientId: string, optional OidcClientId terra.StringValue `hcl:"oidc_client_id,attr"` // OidcClientSecret: string, optional OidcClientSecret terra.StringValue `hcl:"oidc_client_secret,attr"` // OidcDiscoveryCaPem: string, optional OidcDiscoveryCaPem terra.StringValue `hcl:"oidc_discovery_ca_pem,attr"` // OidcDiscoveryUrl: string, optional OidcDiscoveryUrl terra.StringValue `hcl:"oidc_discovery_url,attr"` // OidcResponseMode: string, optional OidcResponseMode terra.StringValue `hcl:"oidc_response_mode,attr"` // OidcResponseTypes: list of string, optional OidcResponseTypes terra.ListValue[terra.StringValue] `hcl:"oidc_response_types,attr"` // Path: string, optional Path terra.StringValue `hcl:"path,attr"` // ProviderConfig: map of string, optional ProviderConfig terra.MapValue[terra.StringValue] `hcl:"provider_config,attr"` // Type: string, optional Type terra.StringValue `hcl:"type,attr"` // Tune: min=0 Tune []Tune `hcl:"tune,block" validate:"min=0"` }
Args contains the configurations for vault_jwt_auth_backend.
type Resource ¶
type Resource struct { Name string Args Args DependsOn terra.Dependencies Lifecycle *terra.Lifecycle // contains filtered or unexported fields }
Resource represents the Terraform resource vault_jwt_auth_backend.
func (*Resource) Attributes ¶
func (vjab *Resource) Attributes() vaultJwtAuthBackendAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (vjab *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (vjab *Resource) Dependencies() terra.Dependencies
Dependencies returns the list of resources Resource depends_on.
func (*Resource) ImportState ¶
ImportState imports the given attribute values into Resource's state.
func (*Resource) LifecycleManagement ¶
LifecycleManagement returns the lifecycle block for Resource.
type Tune ¶
type Tune struct { // AllowedResponseHeaders: list of string, optional AllowedResponseHeaders terra.ListValue[terra.StringValue] `hcl:"allowed_response_headers,attr"` // AuditNonHmacRequestKeys: list of string, optional AuditNonHmacRequestKeys terra.ListValue[terra.StringValue] `hcl:"audit_non_hmac_request_keys,attr"` // AuditNonHmacResponseKeys: list of string, optional AuditNonHmacResponseKeys terra.ListValue[terra.StringValue] `hcl:"audit_non_hmac_response_keys,attr"` // DefaultLeaseTtl: string, optional DefaultLeaseTtl terra.StringValue `hcl:"default_lease_ttl,attr"` // ListingVisibility: string, optional ListingVisibility terra.StringValue `hcl:"listing_visibility,attr"` // MaxLeaseTtl: string, optional MaxLeaseTtl terra.StringValue `hcl:"max_lease_ttl,attr"` // PassthroughRequestHeaders: list of string, optional PassthroughRequestHeaders terra.ListValue[terra.StringValue] `hcl:"passthrough_request_headers,attr"` // TokenType: string, optional TokenType terra.StringValue `hcl:"token_type,attr"` }
type TuneAttributes ¶
type TuneAttributes struct {
// contains filtered or unexported fields
}
func (TuneAttributes) AllowedResponseHeaders ¶
func (t TuneAttributes) AllowedResponseHeaders() terra.ListValue[terra.StringValue]
func (TuneAttributes) AuditNonHmacRequestKeys ¶
func (t TuneAttributes) AuditNonHmacRequestKeys() terra.ListValue[terra.StringValue]
func (TuneAttributes) AuditNonHmacResponseKeys ¶
func (t TuneAttributes) AuditNonHmacResponseKeys() terra.ListValue[terra.StringValue]
func (TuneAttributes) DefaultLeaseTtl ¶
func (t TuneAttributes) DefaultLeaseTtl() terra.StringValue
func (TuneAttributes) InternalRef ¶
func (t TuneAttributes) InternalRef() (terra.Reference, error)
func (TuneAttributes) InternalTokens ¶
func (t TuneAttributes) InternalTokens() (hclwrite.Tokens, error)
func (TuneAttributes) InternalWithRef ¶
func (t TuneAttributes) InternalWithRef(ref terra.Reference) TuneAttributes
func (TuneAttributes) ListingVisibility ¶
func (t TuneAttributes) ListingVisibility() terra.StringValue
func (TuneAttributes) MaxLeaseTtl ¶
func (t TuneAttributes) MaxLeaseTtl() terra.StringValue
func (TuneAttributes) PassthroughRequestHeaders ¶
func (t TuneAttributes) PassthroughRequestHeaders() terra.ListValue[terra.StringValue]
func (TuneAttributes) TokenType ¶
func (t TuneAttributes) TokenType() terra.StringValue
type TuneState ¶
type TuneState struct { AllowedResponseHeaders []string `json:"allowed_response_headers"` AuditNonHmacRequestKeys []string `json:"audit_non_hmac_request_keys"` AuditNonHmacResponseKeys []string `json:"audit_non_hmac_response_keys"` DefaultLeaseTtl string `json:"default_lease_ttl"` ListingVisibility string `json:"listing_visibility"` MaxLeaseTtl string `json:"max_lease_ttl"` PassthroughRequestHeaders []string `json:"passthrough_request_headers"` TokenType string `json:"token_type"` }
Click to show internal directories.
Click to hide internal directories.