aws

package
v1.10.9 Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2022 License: MPL-2.0 Imports: 30 Imported by: 107

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Backend

func Backend() *backend

func Factory

func Factory(ctx context.Context, conf *logical.BackendConfig) (logical.Backend, error)

Types

type PolicyDocument added in v1.5.0

type PolicyDocument struct {
	Version    string           `json:"Version"`
	Statements StatementEntries `json:"Statement"`
}

PolicyDocument represents an IAM policy document

type StatementEntries added in v1.5.0

type StatementEntries []interface{}

StatementEntries is a slice of statements that make up a PolicyDocument

func (*StatementEntries) UnmarshalJSON added in v1.5.0

func (se *StatementEntries) UnmarshalJSON(b []byte) error

UnmarshalJSON is defined here for StatementEntries because the Statement portion of an IAM Policy can either be a list or a single element, so if it's a single element this wraps it in a []interface{} so that it's easy to combine with other policy statements: https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_elements_statement.html

type UsernameMetadata added in v1.9.0

type UsernameMetadata struct {
	Type        string
	DisplayName string
	PolicyName  string
}

Directories

Path Synopsis
cmd
aws

Jump to

Keyboard shortcuts

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