Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var SecretDeleteQueue = make( chan entity.SecretStored, env.SecretDeleteBufferSizeForSafe(), )
SecretDeleteQueue items are persisted to files. They are buffered, so that they can be written in the order they are queued and there are no concurrent writes to the same file at a time.
Functions ¶
func ProcessSecretBackingStoreQueue ¶ added in v0.25.3
func ProcessSecretBackingStoreQueue()
ProcessSecretBackingStoreQueue continuously processes a queue of secrets scheduled for deletion, removing each secret from disk. This function plays a crucial role in the secure management of secrets by ensuring that outdated or unnecessary secrets are not left stored, potentially posing a security risk.
It operates in an endless loop, monitoring a global queue of secrets to be deleted.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.