Class KeyringModule

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

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

    • KeyringModule

      public KeyringModule()
  • Method Details

    • provideKeyring

      @Provides @Singleton public static Keyring provideKeyring(Map<String,Keyring> keyrings, @Config("activeKeyring") String activeKeyring)
    • 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)