Version: v0.6.0 Latest Latest

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

Go to latest
Published: Aug 1, 2017 License: MPL-2.0 Imports: 22 Imported by: 0




This section is empty.


This section is empty.


func AddPolicyRequest

func AddPolicyRequest() echo.HandlerFunc

Adds a policy request to cubbyhole, that can be rejected/approved later Requires requester to have read access to the policy's rule

func Bootstrap added in v0.6.0

func Bootstrap() echo.HandlerFunc

func ConfigMount

func ConfigMount() echo.HandlerFunc

func CreateToken added in v0.5.1

func CreateToken() echo.HandlerFunc

func DecryptString

func DecryptString() echo.HandlerFunc

func DeleteApproleRole added in v0.5.1

func DeleteApproleRole() echo.HandlerFunc

func DeletePolicy

func DeletePolicy() echo.HandlerFunc

func DeletePolicyRequest

func DeletePolicyRequest() echo.HandlerFunc

Anyone that is able to read the policy is able to delete change requests for that policy

func DeleteSecrets added in v0.4.1

func DeleteSecrets() echo.HandlerFunc

func DeleteUserpassUser added in v0.5.1

func DeleteUserpassUser() echo.HandlerFunc

func EncryptString

func EncryptString() echo.HandlerFunc

func GetApproleRoles added in v0.5.1

func GetApproleRoles() echo.HandlerFunc

func GetBulletins

func GetBulletins() echo.HandlerFunc

func GetLDAPGroups added in v0.6.0

func GetLDAPGroups() echo.HandlerFunc

func GetLDAPUsers added in v0.6.0

func GetLDAPUsers() echo.HandlerFunc

func GetMount

func GetMount() echo.HandlerFunc

func GetPolicy

func GetPolicy() echo.HandlerFunc

func GetPolicyRequest

func GetPolicyRequest() echo.HandlerFunc

Searches a policy request from cubbyhole Requires requester to have read access to the policy's rule

func GetRole

func GetRole() echo.HandlerFunc

func GetSecrets

func GetSecrets() echo.HandlerFunc

func GetTokenAccessors added in v0.5.0

func GetTokenAccessors() echo.HandlerFunc

func GetUserpassUsers added in v0.5.1

func GetUserpassUsers() echo.HandlerFunc

func Health added in v0.6.0

func Health() echo.HandlerFunc

func ListRoles

func ListRoles() echo.HandlerFunc

func Login

func Login() echo.HandlerFunc

func LookupTokenByAccessor added in v0.5.0

func LookupTokenByAccessor() echo.HandlerFunc

func PostSecrets

func PostSecrets() echo.HandlerFunc

func RenewSelf

func RenewSelf() echo.HandlerFunc

func RevokeTokenByAccessor added in v0.5.1

func RevokeTokenByAccessor() echo.HandlerFunc

func TransitInfo

func TransitInfo() echo.HandlerFunc

func UnwrapHandler added in v0.3.2

func UnwrapHandler() echo.HandlerFunc

func UpdatePolicyRequest

func UpdatePolicyRequest() echo.HandlerFunc

Provides an unseal token for a policy request If enough tokens are reached, a root token generation and policy change is attempted

func VaultHealth

func VaultHealth() echo.HandlerFunc

func WrapHandler added in v0.3.2

func WrapHandler() echo.HandlerFunc


type H

type H map[string]interface{}

for returning JSON bodies

type PolicyDiff added in v0.2.5

type PolicyDiff struct {
	Policy  string
	Current string
	New     string

type PolicyRequest

type PolicyRequest struct {
	Policy        string
	Current       string
	New           string
	Requester     string
	RequesterHash string
	Required      int
	Progress      int `hash:"ignore"`

Jump to

Keyboard shortcuts

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