We don't wish our production API key to be visible to our agencies (as it's the same across all agencies), I appreciate they can just surface the key with a variable_get if devel module is enabled (and other routes) ~ but we go to lengths to ensure devel isn't on production boxes.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

pobster created an issue. See original summary.

pobster’s picture

markdorison’s picture

Version: 7.x-2.x-dev » 8.x-3.x-dev
Category: Task » Feature request
FileSize
524 bytes

Re-rolled for 8.x-3.x.

xSDx’s picture

This is solving both https://www.drupal.org/project/fastly/issues/3038573 and https://www.drupal.org/project/fastly/issues/2771971. Added also documentation. API key and service ID are being hidden if current environment variables are used.

https://github.com/vvuksan/fastly-drupal/pull/57

xSDx’s picture

Status: Needs review » Fixed

Closing as this is merged.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.