github.com/hashicorp/vault/sdk@v0.13.0/helper/consts/consts.go (about) 1 // Copyright (c) HashiCorp, Inc. 2 // SPDX-License-Identifier: MPL-2.0 3 4 package consts 5 6 const ( 7 // ExpirationRestoreWorkerCount specifies the number of workers to use while 8 // restoring leases into the expiration manager 9 ExpirationRestoreWorkerCount = 64 10 11 // NamespaceHeaderName is the header set to specify which namespace the 12 // request is indented for. 13 NamespaceHeaderName = "X-Vault-Namespace" 14 15 // AuthHeaderName is the name of the header containing the token. 16 AuthHeaderName = "X-Vault-Token" 17 18 // RequestHeaderName is the name of the header used by the Agent for 19 // SSRF protection. 20 RequestHeaderName = "X-Vault-Request" 21 22 // WrapTTLHeaderName is the name of the header containing a directive to 23 // wrap the response 24 WrapTTLHeaderName = "X-Vault-Wrap-TTL" 25 26 // PerformanceReplicationALPN is the negotiated protocol used for 27 // performance replication. 28 PerformanceReplicationALPN = "replication_v1" 29 30 // DRReplicationALPN is the negotiated protocol used for dr replication. 31 DRReplicationALPN = "replication_dr_v1" 32 33 PerfStandbyALPN = "perf_standby_v1" 34 35 RequestForwardingALPN = "req_fw_sb-act_v1" 36 37 RaftStorageALPN = "raft_storage_v1" 38 39 // ReplicationResolverALPN is the negotiated protocol used for 40 // resolving replicaiton addresses 41 ReplicationResolverALPN = "replication_resolver_v1" 42 43 VaultEnableFilePermissionsCheckEnv = "VAULT_ENABLE_FILE_PERMISSIONS_CHECK" 44 45 VaultDisableUserLockout = "VAULT_DISABLE_USER_LOCKOUT" 46 47 PerformanceReplicationPathTarget = "performance" 48 49 DRReplicationPathTarget = "dr" 50 )