Documentation ¶
Overview ¶
Package secretrotate provides a worker for tracking and notifying when a secret should be rotated.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct { SecretManagerFacade SecretManagerFacade Logger Logger Clock clock.Clock SecretOwners []names.Tag RotateSecrets chan<- []string }
Config defines the operation of the Worker.
type Logger ¶
type Logger interface {
Debugf(string, ...interface{})
}
Logger represents the methods used by the worker to log information.
type SecretManagerFacade ¶
type SecretManagerFacade interface {
WatchSecretsRotationChanges(ownerTags ...names.Tag) (watcher.SecretTriggerWatcher, error)
}
SecretManagerFacade instances provide a watcher for secret rotation changes.
Click to show internal directories.
Click to hide internal directories.