secretservice

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Oct 2, 2019 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Secretservice

type Secretservice struct{}

Secretservice handles secrets using Linux secret-service as a store.

func (Secretservice) Add

Add adds new credentials to the keychain.

func (Secretservice) Delete

func (h Secretservice) Delete(serverURL string) error

Delete removes credentials from the store.

func (Secretservice) Get

func (h Secretservice) Get(serverURL string) (string, string, error)

Get returns the username and secret to use for a given registry server URL.

func (Secretservice) List

func (h Secretservice) List() (map[string]string, error)

List returns the stored URLs and corresponding usernames for a given credentials label

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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