Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New(cfg Config) interfaces.SecretEngine
Types ¶
type ErrorResponse ¶
type ResponseData ¶
type ResponseLookUpToken ¶
type ResponseLookUpToken struct {
RequestId string `json:"request_id"`
LeaseId string `json:"lease_id"`
Renewable bool `json:"renewable"`
LeaseDuration int `json:"lease_duration"`
Data struct {
Accessor string `json:"accessor"`
CreationTime int `json:"creation_time"`
CreationTtl int `json:"creation_ttl"`
DisplayName string `json:"display_name"`
EntityId string `json:"entity_id"`
ExpireTime time.Time `json:"expire_time"`
ExplicitMaxTtl int `json:"explicit_max_ttl"`
Id string `json:"id"`
IssueTime time.Time `json:"issue_time"`
NumUses int `json:"num_uses"`
Orphan bool `json:"orphan"`
Path string `json:"path"`
Policies []string `json:"policies"`
Renewable bool `json:"renewable"`
Ttl int `json:"ttl"`
Type string `json:"type"`
} `json:"data"`
}
type ResponseMeta ¶
type ResponseRenewToken ¶
Click to show internal directories.
Click to hide internal directories.