Class 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 Detail

    • Method Detail

      • createOrUpdateSecret

        public void createOrUpdateSecret​(java.lang.String label,
                                         byte[] data)
      • getSecret

        public byte[] getSecret​(java.lang.String label)