Releases: Clever/stealth
Releases · Clever/stealth
v0.3.0
v0.2.0
v0.2.0
v0.1.3
v0.1.3
v0.1.2
v0.1.2
v0.1.1
v0.1.1
v0.1.0
Added a secret store that implements the following based on AWS SSM Parameter store.
type SecretStore interface {
// Creates a Secret in the secret store. Version is guaranteed to be zero if no error is returned.
Create(id SecretIdentifier, value string) error
// Read a Secret from the store. Returns the lastest version of the secret.
Read(id SecretIdentifier) (Secret, error)
// ReadVersion reads a specific version of a secret from the store.
// Version is 0-indexed
ReadVersion(id SecretIdentifier, version int) (Secret, error)
// Updates a Secret from the store and increments version number.
Update(id SecretIdentifier, value string) (Secret, error)
// List gets secrets within a namespace (env/service)>
List(env Environment, service string) ([]SecretIdentifier, error)
// ListAll gets all secrets within a environment (env)>
ListAll(env Environment) ([]SecretIdentifier, error)
// History gets history for a secret, returning all versions from the store.
History(id SecretIdentifier) ([]SecretMeta, error)
// Delete deletes all versions of a secret
Delete(id SecretIdentifier) error
}