keyringcred

package
v1.0.77 Latest Latest
Warning

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

Go to latest
Published: May 3, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

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

Service implements credentials.Service using OS keyring

func NewService

func NewService() *Service

NewService creates a new keyring-based credential service

func (*Service) GetIdentities

func (s *Service) GetIdentities() map[credentials.Label]cred.Identity

func (*Service) GetIdentity

func (s *Service) GetIdentity(label credentials.Label) cred.Identity

func (*Service) GetReader

func (s *Service) GetReader(label credentials.Label) cred.IdentityReader

func (*Service) GetUsers

func (s *Service) GetUsers() map[credentials.Label]string

func (*Service) Labels

func (s *Service) Labels() []credentials.Label

func (*Service) RegisterLabel

func (s *Service) RegisterLabel(label credentials.Label)

func (*Service) SetIdentities

func (s *Service) SetIdentities(payload map[credentials.Label]cred.IdentityPayload)

func (*Service) SetIdentity

func (s *Service) SetIdentity(label credentials.Label, payload cred.IdentityPayload)

Jump to

Keyboard shortcuts

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