Class FirebaseVaultFactory

java.lang.Object
ai.kitsy.cnos.vault.firebase.FirebaseVaultFactory

public final class FirebaseVaultFactory extends Object
Factory for the Firebase Secrets vault provider. Firebase Secrets delegates to GCP Secret Manager under the hood.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    Provider name registered by this factory.
  • Method Summary

    Modifier and Type
    Method
    Description
    static ai.kitsy.cnos.SecretVaultProviderFactory
    Returns a factory that uses the real GCP SDK client.
    static ai.kitsy.cnos.SecretVaultProviderFactory
    factoryWithClient(ai.kitsy.cnos.vault.gcp.GcpSecretManagerProvider.Client client)
    Returns a factory that injects a custom GCP client (useful for testing).

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Method Details

    • factory

      public static ai.kitsy.cnos.SecretVaultProviderFactory factory()
      Returns a factory that uses the real GCP SDK client.
    • factoryWithClient

      public static ai.kitsy.cnos.SecretVaultProviderFactory factoryWithClient(ai.kitsy.cnos.vault.gcp.GcpSecretManagerProvider.Client client)
      Returns a factory that injects a custom GCP client (useful for testing).