Class KeyringModule

java.lang.Object
google.registry.keyring.KeyringModule

@Module public abstract class KeyringModule extends Object
Dagger module for Keyring
  • Constructor Details

    • KeyringModule

      public KeyringModule()
  • Method Details

    • provideKeyring

      @Binds @Singleton public abstract Keyring provideKeyring(SecretManagerKeyring keyring)
    • provideCloudSqlInstanceConnectionName

      @Provides @Config("cloudSqlInstanceConnectionName") public static String provideCloudSqlInstanceConnectionName(Keyring keyring)
    • provideCloudSqlReplicaInstanceConnectionName

      @Provides @Config("cloudSqlReplicaInstanceConnectionName") public static Optional<String> provideCloudSqlReplicaInstanceConnectionName(Keyring keyring)
    • provideCloudSqlDbInstance

      @Provides @Config("cloudSqlDbInstanceName") public static String provideCloudSqlDbInstance(@Config("cloudSqlInstanceConnectionName") String instanceConnectionName)