Module Description
Clear varnish on Acquia from Drupal site. Uses Guzzle HTTP client Instead of cURL https://www.drupal.org/node/1862446 Acquia recommends you build with Cloud API V2. https://cloudapi-docs.acquia.com/

This module provides any Drupal user with permissions to manually purge Acquia Cloud varnish cache for each environment. It uses the acquia cloud API V2 as Acquia recommend.

Is Acquia Purge Varnish secure? It uses custom CSRF token in Drupal. It also uses Guzzle HTTP client request for all API calls. So it's not vulnerable to CSRF exploits and avoids security risk.

# DEPENDENCIES Acquia

# REQUIREMENTS 1- It only works with Acquia's environment. 2- You must have Acquia's (API Key && API Secret) with the right permissions from Acquia's role. Ex: If you create API Key & API secret and you don't have the right permissions, the module will not work.

⚡️ Multiple Applications in Acquia Note: Application field name was added to support multiple applications in Acquia. If $_ENV['AH_SITE_GROUP'] does not match the application name, you will have to enter the correct name in the field. https://docs.acquia.com/cloud-platform/manage/

# CONFIGURATION Where can I enter the API Key & API Secret? Go to your-site/admin/config/acquia-purge-varnish-form

# NOTE I added an extra feature for developers/site admin who like to add Acquia's credentials in settings.php. If you add the credentials in settings.php then the two fields will be disabled.

copy this code in your settings.php and add your (API Key & API Secret)

$settings['acquia_purge_varnish_credentials'] = [ 'api_key' => 'insert-acquia-api-key', 'api_secret' => 'insert-acquia-api-secret' 'application_name' => 'insert-acquia-application-name' ]; # PERMISSIONS If you are an admin, you can give permissions to any drupal role to clear cache.

# SECURITY As an extra precaution, when you uninstall the module the API Key & the API Secret will be deleted from database.

# LEGAL This module has not been built, maintained or supported by Acquia Inc. This is an open source project with no association with Acquia Inc. The module uses their API, that's all.



Developed By: Alaa Haddad If you have any questions or comments, please use Drupal.org for communication with me.
Project Usage
91
Creation Date
Changed Date
Security Covered
Covered By Security Advisory
Version Available
Production
Module Summary
This module provides Drupal users with permissions to manually purge Acquia Cloud varnish cache for each environment using Acquia Cloud API V2.
Data Name
acquia_purge_varnish

OPENAI CHATBOT

OPENAI CHATBOT

10:25:48
Generic Chatbot
Hi, I'm a Drupal module expert powered by OpenAI, answering your questions about the Drupal module ecosystem. How can I be helpful today? Please note that we will log your question.