vault

package
v1.9.0 Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2019 License: MPL-2.0 Imports: 31 Imported by: 13

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeleteSentinelPolicy added in v1.5.0

func DeleteSentinelPolicy(client *api.Client, policyType string, name string) error

func NormalizeCredentials added in v1.4.0

func NormalizeCredentials(configI interface{}) string

func NormalizeDataJSON

func NormalizeDataJSON(configI interface{}) string

func Provider

func Provider() terraform.ResourceProvider

func PutSentinelPolicy added in v1.5.0

func PutSentinelPolicy(client *api.Client, policyType string, name string, body map[string]interface{}) error

func ValidateCredentials added in v1.4.0

func ValidateCredentials(configI interface{}, k string) ([]string, []error)

func ValidateDataJSON

func ValidateDataJSON(configI interface{}, k string) ([]string, []error)

func ValidateSentinelEnforcementLevel added in v1.5.0

func ValidateSentinelEnforcementLevel(v interface{}, k string) (ws []string, errs []error)

Types

type Binding added in v1.7.0

type Binding struct {
	Resource string
	Roles    []string
}

type Policy added in v1.6.0

type Policy struct {
	Rules []*PolicyRule
}

type PolicyRule added in v1.6.0

type PolicyRule struct {
	Path               string
	Description        string
	MinWrappingTTL     string
	MaxWrappingTTL     string
	Capabilities       []string
	RequiredParameters []string
	AllowedParameters  map[string][]string
	DeniedParameters   map[string][]string
}

Source Files

Jump to

Keyboard shortcuts

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