Class BigtableCredentials

java.lang.Object
io.github.flink.gcp.connector.bigtable.BigtableCredentials

@Internal public final class BigtableCredentials extends Object
Loads credentials for the Bigtable data and admin client families.
  • Method Summary

    Modifier and Type
    Method
    Description
    static com.google.api.gax.core.CredentialsProvider
    loadAll(String serviceAccountKeyFile)
    Loads one provider shared by data, table-admin and instance-admin clients.
    static com.google.api.gax.core.CredentialsProvider
    loadData(String serviceAccountKeyFile)
    Loads credentials for a data client, or returns null to preserve ADC.
    static com.google.api.gax.core.CredentialsProvider
    loadDataAndTableAdmin(String serviceAccountKeyFile)
    Loads one provider shared by data and table-admin clients.

    Methods inherited from class java.lang.Object

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

    • loadData

      @Nullable public static com.google.api.gax.core.CredentialsProvider loadData(@Nullable String serviceAccountKeyFile) throws IOException
      Loads credentials for a data client, or returns null to preserve ADC.
      Throws:
      IOException
    • loadDataAndTableAdmin

      @Nullable public static com.google.api.gax.core.CredentialsProvider loadDataAndTableAdmin(@Nullable String serviceAccountKeyFile) throws IOException
      Loads one provider shared by data and table-admin clients.
      Throws:
      IOException
    • loadAll

      @Nullable public static com.google.api.gax.core.CredentialsProvider loadAll(@Nullable String serviceAccountKeyFile) throws IOException
      Loads one provider shared by data, table-admin and instance-admin clients.
      Throws:
      IOException