schemas

package
v0.0.0-...-1f6fcca Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 1, 2022 License: MPL-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	AgentSchema = &schema.BodySchema{
		DocsLink: &schema.DocsLink{
			URL: "https://www.vaultproject.io/docs/agent#configuration",
		},
		Blocks: map[string]*schema.BlockSchema{
			"auto_auth":       autoAuthBlockSchema,
			"cache":           cacheBlockSchema,
			"vault":           vaultBlockSchema,
			"template_config": templateConfigBlockSchema,
			"template":        templateBlockSchema,
			"listener":        listenerBlockSchema,
		},

		Attributes: map[string]*schema.AttributeSchema{
			"pid_file": {
				Expr:        schema.LiteralTypeOnly(cty.String),
				IsOptional:  true,
				Description: lang.Markdown("File to store Vault Agent's process ID in"),
			},
			"exit_after_auth": {
				Expr:        schema.LiteralTypeOnly(cty.Bool),
				IsOptional:  true,
				Description: lang.Markdown("If true, Vault Agent will exit after authenticating and writing to any configured auto_auth sinks"),
			},
		},
	}
)
View Source
var (
	PolicySchema = &schema.BodySchema{}
)
View Source
var (
	ServerSchema = &schema.BodySchema{
		DocsLink: &schema.DocsLink{
			URL: "https://www.vaultproject.io/docs/configuration",
		},
		Attributes: map[string]*schema.AttributeSchema{
			"cluster_name": {
				Expr: schema.LiteralTypeOnly(cty.String),
			},
			"cache_size": {
				Expr: schema.LiteralTypeOnly(cty.String),
			},
			"disable_cache": {
				Expr: schema.LiteralTypeOnly(cty.Bool),
			},
			"disable_mlock": {
				Expr: schema.LiteralTypeOnly(cty.String),
			},
			"plugin_directory": {
				Expr: schema.LiteralTypeOnly(cty.String),
			},
			"log_level": {
				Expr: schema.LiteralTypeOnly(cty.String),
			},
			"log_format": {
				Expr: schema.LiteralTypeOnly(cty.String),
			},
			"default_lease_ttl": {
				Expr: schema.LiteralTypeOnly(cty.String),
			},
			"max_lease_ttl": {
				Expr: schema.LiteralTypeOnly(cty.String),
			},
			"default_max_request_duration": {
				Expr: schema.LiteralTypeOnly(cty.String),
			},
			"raw_storage_endpoint": {
				Expr: schema.LiteralTypeOnly(cty.Bool),
			},
			"ui": {
				Expr: schema.LiteralTypeOnly(cty.Bool),
			},
			"pid_file": {
				Expr: schema.LiteralTypeOnly(cty.String),
			},
			"enable_response_header_hostname": {
				Expr: schema.LiteralTypeOnly(cty.Bool),
			},
			"enable_response_header_raft_node_id": {
				Expr: schema.LiteralTypeOnly(cty.Bool),
			},
			"api_addr": {
				Expr: schema.LiteralTypeOnly(cty.String),
			},
			"cluster_addr": {
				Expr: schema.LiteralTypeOnly(cty.String),
			},
			"disable_clustering": {
				Expr: schema.LiteralTypeOnly(cty.Bool),
			},
			"disable_sealwrap": {
				Expr: schema.LiteralTypeOnly(cty.Bool),
			},
			"disable_performance_standby": {
				Expr: schema.LiteralTypeOnly(cty.Bool),
			},
			"license_path": {
				Expr: schema.LiteralTypeOnly(cty.String),
			},
		},
		Blocks: map[string]*schema.BlockSchema{
			"storage":              storageBlockSchema,
			"ha_storage":           storageBlockSchema,
			"listener":             listenerBlockSchema,
			"telemetry":            telemetryBlockSchema,
			"seal":                 sealBlockSchema,
			"replication":          replicationBlockSchema,
			"sentinel":             sentinelBlockSchema,
			"service_registration": serviceRegistrationBlockSchema,
			"entropy":              entropyBlockSchema,
		},
	}
)

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL