Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Secret ¶
type Secret struct { ID string `json:"ID"` Name string `json:"Name"` Labels map[string]string `json:"Tags"` // contains filtered or unexported fields }
Secret hold sensitive data
func (Secret) GetContent ¶ added in v0.1.23
GetContent returns a Secret's sensitive data
type Service ¶
type Service interface { CreateSecret(ctx context.Context, secret Secret) (string, error) InspectSecret(ctx context.Context, id string) (Secret, error) ListSecrets(ctx context.Context) ([]Secret, error) DeleteSecret(ctx context.Context, id string, recover bool) error }
Service interacts with the underlying secrets backend
Click to show internal directories.
Click to hide internal directories.