Class BigtableCredentials
java.lang.Object
io.github.flink.gcp.connector.bigtable.BigtableCredentials
Loads credentials for the Bigtable data and admin client families.
-
Method Summary
Modifier and TypeMethodDescriptionstatic com.google.api.gax.core.CredentialsProviderLoads one provider shared by data, table-admin and instance-admin clients.static com.google.api.gax.core.CredentialsProviderLoads credentials for a data client, or returnsnullto preserve ADC.static com.google.api.gax.core.CredentialsProviderloadDataAndTableAdmin(String serviceAccountKeyFile) Loads one provider shared by data and table-admin clients.
-
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 returnsnullto 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
-