Documentation
¶
Index ¶
Constants ¶
View Source
const ( // Token renewal period is its TTL multiplied by this ratio AutoRenewPeriodRatio = 0.5 TokenRetryPeriod = 5 * time.Second TokenHeader = "X-Vault-Token" WrapTTLHeader = "X-Vault-Wrap-Ttl" TokenCreateURL = "/v1/auth/token/create" SelfTokenURL = "/v1/auth/token/lookup-self" SelfTokenRenewURL = "/v1/auth/token/renew-self" SysHealthURL = "/v1/sys/health" AuthAppRoleURL = "/v1/sys/auth/approle" AppRoleLoginURL = "/v1/auth/approle/login" AppRoleURL = "/v1/auth/approle/role" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RequestOptions ¶
Click to show internal directories.
Click to hide internal directories.