The gRPC connection type enables integrated connection to a gRPC service
Authenticating to gRPC¶
There are several ways to connect to gRPC service using Airflow.
NO_AUTHmode, simply setup an insecure channel of connection.
TLSmode, supply a credential pem file for the connection id, this will setup SSL or TLS secured connection with gRPC service.
JWT_GOOGLEmode. It is using google auth default credentials by default, further use case of getting credentials from service account can be add later on.
OATH_GOOGLEmode. Scopes are required in the extra field, can be setup in the UI. It is using google auth default credentials by default, further use case of getting credentials from service account can be add later on.
CUSTOMmode. For this type of connection, you can pass in a connection function takes in the connection object and return a gRPC channel and supply whatever authentication type you want.
Default Connection IDs¶
The following connection IDs are used by default.
Used by the
Configuring the Connection¶
The host url of the gRPC server
- Port (Optional)
The port to connect to on gRPC server
- Auth Type
Authentication type of the gRPC connection.
NO_AUTHby default, possible values are
- Credential Pem File (Optional)
Pem file that contains credentials for
TLStype auth Not required for other types.
- Scopes (comma separated) (Optional)
A list of comma-separated Google Cloud scopes to authenticate with. Only for