package
0.18.2
Repository: https://github.com/shieldworks/aegis.git
Documentation: pkg.go.dev

# Functions

AllSecrets returns a slice of entity.Secret containing all secrets currently stored.
DecryptValue takes a base64-encoded and encrypted string value and returns the original, decrypted string.
No description provided by the author
EncryptValue takes a string value and returns an encrypted and base64-encoded representation of the input value.
Initialize starts two goroutines: one to process the secret queue and another to process the Kubernetes secret queue.
MasterKeySet returns true if the master key has been set.
ReadSecret takes a key string and returns a pointer to an entity.SecretStored object if the secret exists in the in-memory store.
SetMasterKey sets the age key to be used for encryption and decryption.
Stats returns a copy of the currentState Status object, providing a snapshot of the current status of the secret manager.
UpsertSecret takes an entity.SecretStored object and inserts it into the in-memory store if it doesn't exist, or updates it if it does.

# Constants

No description provided by the author
No description provided by the author

# Structs

No description provided by the author
Status is a struct representing the current state of the secret manager, including the lengths and capacities of the secret queues and the total number of secrets stored.