Index
All Classes and Interfaces|All Packages|Serialized Form
C
- com.maybeitssquid.rotatingsecrets - module com.maybeitssquid.rotatingsecrets
-
Credential rotation core: reads secret files and notifies registered
updaterswhen they change. - com.maybeitssquid.rotatingsecrets - package com.maybeitssquid.rotatingsecrets
- Configuration Properties - Section in class com.maybeitssquid.rotatingsecrets.CredentialsProviderService
- CredentialRotationException - Exception Class in com.maybeitssquid.rotatingsecrets
-
Exception thrown when credential rotation fails.
- CredentialRotationException(String, Throwable) - Constructor for exception class com.maybeitssquid.rotatingsecrets.CredentialRotationException
-
Creates a new credential rotation exception with the specified message and cause.
- CredentialsProviderService - Class in com.maybeitssquid.rotatingsecrets
-
Service that reads database credentials from Kubernetes-mounted secret files and notifies registered
UpdatableCredentialcomponents when credentials change. - CredentialsProviderService(String, long) - Constructor for class com.maybeitssquid.rotatingsecrets.CredentialsProviderService
-
Creates a new credentials provider reading from the specified secrets path.
F
- File Structure - Section in class com.maybeitssquid.rotatingsecrets.CredentialsProviderService
K
- Kubernetes Secret Mounting - Section in class com.maybeitssquid.rotatingsecrets.CredentialsProviderService
P
- passwordPath - Variable in class com.maybeitssquid.rotatingsecrets.CredentialsProviderService
-
Path to the file containing the database password.
R
- refreshCredentials() - Method in class com.maybeitssquid.rotatingsecrets.CredentialsProviderService
-
Reads the current credentials from the mounted secret files and notifies registered
UpdatableCredentialcomponents if they have changed. - register(UpdatableCredential) - Method in class com.maybeitssquid.rotatingsecrets.CredentialsProviderService
-
Registers a component to receive credential change notifications.
S
- setCredential(String, T) - Method in interface com.maybeitssquid.rotatingsecrets.UpdatableCredential
-
Updates the credentials used by this component.
- start() - Method in class com.maybeitssquid.rotatingsecrets.CredentialsProviderService
-
Validates file permissions on startup and starts the directory watch thread.
- stop() - Method in class com.maybeitssquid.rotatingsecrets.CredentialsProviderService
-
Stops the directory watch thread and closes the
WatchService.
T
- Thread Safety - Section in class com.maybeitssquid.rotatingsecrets.CredentialsProviderService
U
- UpdatableCredential<T> - Interface in com.maybeitssquid.rotatingsecrets
-
Interface for components that need to receive updated credentials when they change.
- usernamePath - Variable in class com.maybeitssquid.rotatingsecrets.CredentialsProviderService
-
Path to the file containing the database username.
All Classes and Interfaces|All Packages|Serialized Form