Documentation
¶
Overview ¶
Package secret stores per-target credentials in the OS keychain (A5). crofty never sends these anywhere of ours — there is no server (A7). They are the user's own tokens for the user's own destinations, kept locally. Secret values are entered through a hidden prompt and never pass through agent context.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNotFound = errors.New("secret not found")
ErrNotFound is returned when no secret exists for the given target/field.
Functions ¶
This section is empty.
Types ¶
type Store ¶
type Store struct {
// contains filtered or unexported fields
}
Store reads and writes credentials for one workspace. Keys are namespaced workspace:target:field so multiple sites and targets never collide (A5).
Click to show internal directories.
Click to hide internal directories.