Package ai.kitsy.cnos.vault.firebase
Class FirebaseVaultFactory
java.lang.Object
ai.kitsy.cnos.vault.firebase.FirebaseVaultFactory
Factory for the Firebase Secrets vault provider.
Firebase Secrets delegates to GCP Secret Manager under the hood.
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic ai.kitsy.cnos.SecretVaultProviderFactoryfactory()Returns a factory that uses the real GCP SDK client.static ai.kitsy.cnos.SecretVaultProviderFactoryfactoryWithClient(ai.kitsy.cnos.vault.gcp.GcpSecretManagerProvider.Client client) Returns a factory that injects a custom GCP client (useful for testing).
-
Field Details
-
PROVIDER
Provider name registered by this factory.- See Also:
-
-
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).
-