handlers

package
v0.4.1-rc1 Latest Latest
Warning

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

Go to latest
Published: Jun 27, 2017 License: MPL-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

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 ConfigMount

func ConfigMount() echo.HandlerFunc

func CreateUser

func CreateUser() echo.HandlerFunc

func DecryptString

func DecryptString() 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 DeleteUser

func DeleteUser() echo.HandlerFunc

func EncryptString

func EncryptString() echo.HandlerFunc

func FetchCSRF

func FetchCSRF() echo.HandlerFunc

func GetBulletins

func GetBulletins() echo.HandlerFunc

func GetMount

func GetMount() echo.HandlerFunc

func GetMounts

func GetMounts() 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 GetTokenCount

func GetTokenCount() echo.HandlerFunc

func GetUsers

func GetUsers() echo.HandlerFunc

func ListRoles

func ListRoles() echo.HandlerFunc

func Login

func Login() echo.HandlerFunc

func PostSecrets

func PostSecrets() echo.HandlerFunc

func RenewSelf

func RenewSelf() 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

Types

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