secrets

package
v1.55.12 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2024 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DevSecretService

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

func NewSecretService

func NewSecretService() (*DevSecretService, error)

Create new secret store

func (*DevSecretService) Access

func (*DevSecretService) Delete added in v1.50.0

func (s *DevSecretService) Delete(ctx context.Context, secretName string, version string, latest bool) error

Delete a secret version, used by dashboard

func (*DevSecretService) List added in v1.50.0

func (s *DevSecretService) List(ctx context.Context, secretName string) ([]SecretVersion, error)

List all secret versions and values for a given secret, used by dashboard

func (*DevSecretService) Put

type SecretVersion added in v1.50.0

type SecretVersion struct {
	Version   string `json:"version"`
	Value     string `json:"value"`
	Latest    bool   `json:"latest"`
	CreatedAt string `json:"createdAt"`
}

Jump to

Keyboard shortcuts

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