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.Logger Clock clock.Clock SecretOwners []names.Tag RotateSecrets chan<- []string }
Config defines the operation of the Worker.
type SecretManagerFacade ¶
type SecretManagerFacade interface {
WatchSecretsRotationChanges(ctx context.Context, 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.