Class MultiFileSecretDao
java.lang.Object
com.atlassian.secrets.service.dao.MultiFileSecretDao
- All Implemented Interfaces:
SecretDao
A
SecretDao implementation where each SealedSecret is stored
as an individual file within a base directory. The filename is the secret
identifier in hex encoding.
Storing each secret separately reduces file contention for all operations.-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionMultiFileSecretDao(Path homeDirectoryPath) MultiFileSecretDao(Path homeDirectoryPath, FileWriter fileWriter) -
Method Summary
Modifier and TypeMethodDescriptionvoidgetIdsForBackend(String backendId) voidput(Set<SealedSecret> sealedSecrets)
-
Field Details
-
SECRET_DIRECTORY_NAME
- See Also:
-
-
Constructor Details
-
MultiFileSecretDao
-
MultiFileSecretDao
-
-
Method Details