akeyless

package
v0.1.12 Latest Latest
Warning

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

Go to latest
Published: Sep 13, 2024 License: BSD-3-Clause Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAkeylessConfigFromBackendConfig

func NewAkeylessConfigFromBackendConfig(akeylessUrl string, sessionConfig AkeylessSessionBackendConfig) (string, error)

Types

type AkeylessBackend

type AkeylessBackend struct {
	BackendId string
	Config    AkeylessBackendConfig
	Token     string
}

func NewAkeylessBackend

func NewAkeylessBackend(backendId string, bc map[string]interface{}) (*AkeylessBackend, error)

func (*AkeylessBackend) GetSecretOutput

func (b *AkeylessBackend) GetSecretOutput(secretKey string) secret.SecretOutput

type AkeylessBackendConfig

type AkeylessBackendConfig struct {
	AkeylessSession AkeylessSessionBackendConfig `mapstructure:"akeyless_session"`
	BackendType     string                       `mapstructure:"backend_type"`
	AkeylessUrl     string                       `mapstructure:"akeyless_url"`
}

type AkeylessSessionBackendConfig

type AkeylessSessionBackendConfig struct {
	AkeylessAccessId  string `mapstructure:"akeyless_access_id"`
	AkeylessAccessKey string `mapstructure:"akeyless_access_key"`
}

Jump to

Keyboard shortcuts

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