Documentation
¶
Overview ¶
Package workflowsecret protects sensitive node configuration before workflow persistence.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrKeyTooShort = errors.New("workflow secret key must contain at least 32 bytes") ErrInvalidReference = errors.New("workflow secret reference is invalid") )
View Source
var ErrPasswordMustBeString = errors.New("workflow node password must be a string")
Functions ¶
func ProtectWorkflow ¶
ProtectWorkflow clones a workflow and replaces node config passwords with opaque references.
Types ¶
type Codec ¶
type Codec struct {
// contains filtered or unexported fields
}
Codec seals secret values into opaque references bound to one workspace.
Click to show internal directories.
Click to hide internal directories.