DRIVE
DRIVE is a configuration module that allows connecting Gredit to a cloud storage service (Google Drive, Microsoft OneDrive, or Microsoft SharePoint) and mounting a remote directory as a local folder so the system can read and consume the data it contains.
What it is used for
- Mount a cloud drive directory as a local mount point
- Allow scripts and processes to consume files and data stored in that directory
- Centralize access to corporate data hosted on Google Drive, OneDrive, or SharePoint
Configuration
| Field | Description |
|---|---|
| Provider | Storage service: Google Drive, Microsoft OneDrive, or Microsoft SharePoint |
| Name | Configuration identifier name |
| Client ID | Client ID of the provider's OAuth application |
| Client secret | Client secret of the provider's OAuth application |
| Options | Depending on the provider: root folder, tenant, drive, etc. |
How it works
- After creating or updating the configuration, the system redirects to the provider's OAuth authentication flow to authorize access.
- Once authorized, the remote directory is mounted on the server at a local path.
- Scripts and the rest of the system can read and consume files from that mounted directory as if they were local.
Relationship with other modules
- Accounts: Each DRIVE configuration belongs to an account
- Scripts and executions: Can access data from the mounted directory for processing