2017-02-16 18:16:06 +00:00
|
|
|
package consts
|
|
|
|
|
|
|
|
const (
|
2018-03-20 18:54:10 +00:00
|
|
|
// ExpirationRestoreWorkerCount specifies the number of workers to use while
|
2017-02-16 18:16:06 +00:00
|
|
|
// restoring leases into the expiration manager
|
|
|
|
ExpirationRestoreWorkerCount = 64
|
2018-08-22 18:37:40 +00:00
|
|
|
|
|
|
|
// NamespaceHeaderName is the header set to specify which namespace the
|
|
|
|
// request is indented for.
|
|
|
|
NamespaceHeaderName = "X-Vault-Namespace"
|
|
|
|
|
|
|
|
// AuthHeaderName is the name of the header containing the token.
|
|
|
|
AuthHeaderName = "X-Vault-Token"
|
2019-04-17 20:50:31 +00:00
|
|
|
|
2019-10-11 22:56:07 +00:00
|
|
|
// RequestHeaderName is the name of the header used by the Agent for
|
|
|
|
// SSRF protection.
|
|
|
|
RequestHeaderName = "X-Vault-Request"
|
|
|
|
|
2019-04-17 20:50:31 +00:00
|
|
|
// PerformanceReplicationALPN is the negotiated protocol used for
|
|
|
|
// performance replication.
|
|
|
|
PerformanceReplicationALPN = "replication_v1"
|
|
|
|
|
2020-02-15 00:39:13 +00:00
|
|
|
// DRReplicationALPN is the negotiated protocol used for dr replication.
|
2019-04-17 20:50:31 +00:00
|
|
|
DRReplicationALPN = "replication_dr_v1"
|
|
|
|
|
|
|
|
PerfStandbyALPN = "perf_standby_v1"
|
|
|
|
|
|
|
|
RequestForwardingALPN = "req_fw_sb-act_v1"
|
|
|
|
|
|
|
|
RaftStorageALPN = "raft_storage_v1"
|
2020-02-15 00:39:13 +00:00
|
|
|
|
|
|
|
// ReplicationResolverALPN is the negotiated protocol used for
|
|
|
|
// resolving replicaiton addresses
|
|
|
|
ReplicationResolverALPN = "replication_resolver_v1"
|
2022-04-04 16:45:41 +00:00
|
|
|
|
2022-05-17 18:34:31 +00:00
|
|
|
VaultEnableFilePermissionsCheckEnv = "VAULT_ENABLE_FILE_PERMISSIONS_CHECK"
|
2022-11-01 18:02:07 +00:00
|
|
|
|
|
|
|
VaultDisableUserLockout = "VAULT_DISABLE_USER_LOCKOUT"
|
2017-02-16 18:16:06 +00:00
|
|
|
)
|