vaults

package
v0.0.0-...-f5bbbf4 Latest Latest
Warning

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

Go to latest
Published: May 2, 2023 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Vaults

type Vaults struct {
	// contains filtered or unexported fields
}

func New

func New(roles auth.Roles, logger log.Logger) *Vaults

func (*Vaults) CreateAWS

func (c *Vaults) CreateAWS(_ context.Context, name string, config *entities.AWSConfig, allowedTenants []string, _ *auth.UserInfo) error

func (*Vaults) CreateAzure

func (c *Vaults) CreateAzure(_ context.Context, name string, config *entities.AzureConfig, allowedTenants []string, _ *auth.UserInfo) error

func (*Vaults) CreateHashicorp

func (c *Vaults) CreateHashicorp(_ context.Context, name string, config *entities.HashicorpConfig, allowedTenants []string, _ *auth.UserInfo) error

func (*Vaults) Get

func (c *Vaults) Get(ctx context.Context, name string, userInfo *auth.UserInfo) (*entities.Vault, error)

Jump to

Keyboard shortcuts

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