Uses of Class
com.google.cloud.bigtable.config.CredentialOptions
-
Packages that use CredentialOptions Package Description com.google.cloud.bigtable.config com.google.cloud.bigtable.grpc.io -
-
Uses of CredentialOptions in com.google.cloud.bigtable.config
Subclasses of CredentialOptions in com.google.cloud.bigtable.config Modifier and Type Class and Description static class
CredentialOptions.JsonCredentialsOptions
A CredentialOption that has a json credentials configured as an InputStream instead of a system environment property.static class
CredentialOptions.P12CredentialOptions
A CredentialOptions defined by a serviceAccount and a p12 key file.static class
CredentialOptions.UserSuppliedCredentialOptions
A CredentialOption that supplies the Credentials directly.Methods in com.google.cloud.bigtable.config that return CredentialOptions Modifier and Type Method and Description static CredentialOptions
CredentialOptions. credential(com.google.auth.Credentials credentials)
A CredentialOption that wraps an existingCredentials
object.static CredentialOptions
CredentialOptions. defaultCredentials()
Use the Application Default Credentials which are credentials that identify and authorize the whole application.CredentialOptions
BigtableOptions. getCredentialOptions()
Get the credential this object was constructed with.static CredentialOptions
CredentialOptions. jsonCredentials(InputStream jsonInputStream)
jsonCredentials.static CredentialOptions
CredentialOptions. jsonCredentials(String jsonString)
jsonCredentials.static CredentialOptions
CredentialOptions. nullCredential()
No credentials - used for unit testing.static CredentialOptions
CredentialOptions. p12Credential(String serviceAccount, String keyFile)
Initializes OAuth2 credential from a private keyfile, as described in Service accounts.Methods in com.google.cloud.bigtable.config with parameters of type CredentialOptions Modifier and Type Method and Description static com.google.auth.Credentials
CredentialFactory. getCredentials(CredentialOptions options)
Look up a Credentials object based on a configuration of credentials described in aCredentialOptions
.BigtableOptions.Builder
BigtableOptions.Builder. setCredentialOptions(CredentialOptions credentialOptions)
-
Uses of CredentialOptions in com.google.cloud.bigtable.grpc.io
Methods in com.google.cloud.bigtable.grpc.io with parameters of type CredentialOptions Modifier and Type Method and Description io.grpc.ClientInterceptor
CredentialInterceptorCache. getCredentialsInterceptor(CredentialOptions credentialOptions, RetryOptions retryOptions)
GivenCredentialOptions
that define how to look up credentials, do the following: Look up the credentials If there are credentials, create a gRPC interceptor that gets OAuth2 security tokens and add that token as a header on all calls.
-