credentials

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: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Labels = []Label{Pygmalion}

Functions

This section is empty.

Types

type Label

type Label = string

Label identifies a credential set

const (
	Pygmalion Label = "Pygmalion"
)

type SecureService

type SecureService interface {
	Labels() []Label
	GetUsers() map[Label]string
	SetIdentities(payload map[Label]cred.IdentityPayload)
}

SecureService exposes limited credential operations

type Service

type Service interface {
	Labels() []Label
	RegisterLabel(label Label)
	GetUsers() map[Label]string
	SetIdentities(payload map[Label]cred.IdentityPayload)
	GetIdentities() map[Label]cred.Identity
	SetIdentity(label Label, payload cred.IdentityPayload)
	GetIdentity(label Label) cred.Identity
	GetReader(label Label) cred.IdentityReader
}

Service manages secure credential storage

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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