auth

package
v0.0.0-...-986e5db Latest Latest
Warning

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

Go to latest
Published: May 3, 2025 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ClearCache

func ClearCache()

func NewKeyring

func NewKeyring(auth config.Auth, provider *config.Provider) (keyring.Keyring, error)

NewKeyring opens a keyring for a given provider.

The providers are only able to access their own keys, so as not to risk conflicts between providers.

Types

type Keyring

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

Keyring provides a per-provider view of a keyring.

func (*Keyring) Get

func (k *Keyring) Get(key string) (item keyring.Item, err error)

func (*Keyring) GetMetadata

func (k *Keyring) GetMetadata(key string) (keyring.Metadata, error)

func (*Keyring) Keys

func (k *Keyring) Keys() ([]string, error)

func (*Keyring) Remove

func (k *Keyring) Remove(key string) error

func (*Keyring) Set

func (k *Keyring) Set(item keyring.Item) error

Jump to

Keyboard shortcuts

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