vault

package
v1.7.0 Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2019 License: MPL-2.0 Imports: 30 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeleteSentinelPolicy

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

func NormalizeCredentials

func NormalizeCredentials(configI interface{}) string

func NormalizeDataJSON

func NormalizeDataJSON(configI interface{}) string

func Provider

func Provider() terraform.ResourceProvider

func PutSentinelPolicy

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

func ValidateCredentials

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

func ValidateDataJSON

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

func ValidateSentinelEnforcementLevel

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

Types

type Binding

type Binding struct {
	Resource string
	Roles    []string
}

type Policy

type Policy struct {
	Rules []*PolicyRule
}

type PolicyRule

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