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: 3 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 interface {
	// CreateHashicorp creates a Hashicorp Vault client
	CreateHashicorp(ctx context.Context, name string, config *entities.HashicorpConfig, allowedTenants []string, userInfo *auth.UserInfo) error

	// CreateAzure creates an AKV client
	CreateAzure(ctx context.Context, name string, config *entities.AzureConfig, allowedTenants []string, userInfo *auth.UserInfo) error

	// CreateAWS creates an AWS KMS client
	CreateAWS(ctx context.Context, name string, config *entities.AWSConfig, allowedTenants []string, userInfo *auth.UserInfo) error

	// Get gets a valut by name
	Get(ctx context.Context, name string, userInfo *auth.UserInfo) (*entities.Vault, error)
}

Directories

Path Synopsis
api
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
service

Jump to

Keyboard shortcuts

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