<#7472 feat: GCS state storage backend to accept J...
# meltano-repo-activity
g
#7472 feat: GCS state storage backend to accept JSON string Issue created by 0x1A4 ### Feature scope Configuration ### Description Currently GCS state backend accepts only
state_backend.gcs.application_credentials
parameter, which can only be a path to a
service-account.json
file. In case of provision
service-account.json
as JSON string for the configuration, the only one available option is usage of
GOOGLE_APPLICATION_CREDENTIALS
environment variable. This one is not a good practice for production-ready deployments. Proposal is about to make available using JSON string as configuration variable without
GOOGLE_APPLICATION_CREDENTIALS
pollution. This could be performed in three ways as i can see: 1. dividing
application_credentials
into two different configuration variables like
application_credentials_path
and
application_credentials_json
2. leaving
application_credentials
as-is and add additional check that this variable contains JSON-formatted string 3. add
application_credentials_type
configuration variable and set it to
service-account-json
value for JSON format check. meltano/meltano