Class KeyringSecretStore
- java.lang.Object
-
- google.registry.privileges.secretmanager.KeyringSecretStore
-
public class KeyringSecretStore extends java.lang.Object
Storage for 'keyring' secrets, backed by the Secret Manager.This store is for secrets and credentials that must be set up manually and/or do not require non-disruptive password changes, e.g., passwords to regulatory reporting websites, which are used by cron jobs.
In contrast, the
SqlCredentialStore
is designed to support non-disruptive credential changes with Cloud SQL.
-
-
Constructor Summary
Constructors Constructor Description KeyringSecretStore(SecretManagerClient csmClient)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
createOrUpdateSecret(java.lang.String label, byte[] data)
byte[]
getSecret(java.lang.String label)
-
-
-
Constructor Detail
-
KeyringSecretStore
@Inject public KeyringSecretStore(SecretManagerClient csmClient)
-
-