keyring

package
v0.0.0-...-d05e76d Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package keychain exposes a simplified API for dealing with secrets in a keyring

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	Prefix string
}

Client exposes functions for dealing with a keyring

func (Client) Delete

func (c Client) Delete(name string) error

Delete knows how to remove secrets from a keyring

func (Client) Get

func (c Client) Get(name string, key string) (string, error)

Get knows how to retrieve secrets from a keyring

func (Client) Put

func (c Client) Put(name string, secrets map[string]string) error

Put knows how to store secrets in a keyring

Jump to

Keyboard shortcuts

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