Pub/Sub
Prepare credentials and permission in Google Cloud console
Certain credentials and permission are required for Validio to validate your data:
- A service account with access and permissions to the specific Pub/Sub stream.
Permissions for service accounts
Certain permissions and roles are required for the service account.
For more information, refer to Access control with IAM for Pub/Sub and Authenticate to Pub/Sub.
Service account for Source config
We recommend that you create a service account where the Validio platform is granted access to the read data from your Pub/Sub stream.
Service account key
- Obtain a service account key in JSON file format for your service account.
For details, refer to Create and delete service account keys. - Provide the service account to the Credentials field in Validio by either:
- Upload the JSON file to the
JSON file
field. - Paste the content of the JSON file into the
JSON text
field.
- Upload the JSON file to the
Credential parameters
Field | Required | Description |
---|---|---|
Name | ✅ | Identifier for the credentials. Used when accessing Sources. |
Service account | ✅ | Upload the JSON file or paste the content of the JSON file containing the service account key. |
Configuration parameters
Field | Required | Description |
---|---|---|
Name | ✅ | Identifier for the Source. Used when setting up Validators. |
Project Id | ✅ | Id of the Pub/Sub project to read data from. |
Subscription Id | ✅ | Id of the Pub/Sub stream to read data from. |
Message format | ✅ | JSON, AVRO or PROTOBUF |
Message schema | ✅ | JSON - Not needed, Validio automatically infers schema AVRO - Refer to Avro Schema Declaration. PROTOBUF - Refer to Protobuf Message Type. |
Updated about 1 month ago