Store credentials in Drupal config instead of external json file

Created on 1 August 2025, 2 months ago

Currently, the module requires users to provide the path to a JSON credentials file for Service account authentication.
However, this method presents several issues:

  • Relying on external files instead of Drupal's configuration is not consistent with best practices for module development.
  • Many users, especially on managed or shared hosting, do not have the ability or permissions to upload files directly to the server.
  • Storing credentials in files on the server is not a secure practice and may expose sensitive information.
  • No possibility of sensitive data being overwritten by environment variables.

Proposed solution is to refactoring the credentials handling mechanism so that users can enter the JSON credentials directly in the module configuration textarea field, instead of providing a file path.

Feature request
Status

Active

Version

4.0

Component

Code

Created by

🇵🇱Poland szymon-gorecki

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024