Skip to main content

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

FieldDescription
ProviderStorage service: Google Drive, Microsoft OneDrive, or Microsoft SharePoint
NameConfiguration identifier name
Client IDClient ID of the provider's OAuth application
Client secretClient secret of the provider's OAuth application
OptionsDepending on the provider: root folder, tenant, drive, etc.

How it works

  1. After creating or updating the configuration, the system redirects to the provider's OAuth authentication flow to authorize access.
  2. Once authorized, the remote directory is mounted on the server at a local path.
  3. 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