secrets

package
v0.38.0 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2024 License: EPL-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	BASE64_ENCODING = "base64"
)

Variables

This section is empty.

Functions

func DeleteSecret

func DeleteSecret(
	secretName string,
	console spi.Console,
	apiClient *galasaapi.APIClient,
	byteReader spi.ByteReader,
) error

func GetFormatterNamesAsString

func GetFormatterNamesAsString() string

func GetSecrets

func GetSecrets(
	secretName string,
	format string,
	console spi.Console,
	apiClient *galasaapi.APIClient,
	byteReader spi.ByteReader,
) error

func SetSecret

func SetSecret(
	secretName string,
	username string,
	password string,
	token string,
	base64Username string,
	base64Password string,
	base64Token string,
	secretType string,
	description string,
	console spi.Console,
	apiClient *galasaapi.APIClient,
	byteReader spi.ByteReader,
) error

Creates or updates a Galasa Secret using the provided parameters into an ecosystem's credentials store

Types

This section is empty.

Jump to

Keyboard shortcuts

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