secrets

package
v0.0.0-...-b0bff92 Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2021 License: AGPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	base.ClientFacade
	// contains filtered or unexported fields
}

Client is the api client for the Secrets facade.

func NewClient

func NewClient(caller base.APICallCloser) *Client

NewClient creates a secrets api client.

func (*Client) ListSecrets

func (api *Client) ListSecrets(showSecrets bool) ([]SecretDetails, error)

ListSecrets lists the available secrets.

type SecretDetails

type SecretDetails struct {
	Metadata secrets.SecretMetadata
	Value    secrets.SecretValue
	Error    string
}

SecretDetails holds a secret metadata and value.

Jump to

Keyboard shortcuts

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