- You generated new oauth keys locally and renamed them.
- You uploaded them to a folder on Acquia Cloud that can't be backed up but is accessible by your environment.
- You created Environment Variables that reveal the location of these variables to the Drupal application.
- You configured Drupal to use the environment variables to override Simple OAuth configuration and inform the module where to find the keys for the given environment they're on when the environment variables are set.
Now you have a solid method of OAuth SSL key deployments on Acquia Cloud that is secure and scalable.
Doing headless/decoupled development?
If you're building a headless or decoupled application with Drupal, check out Acquia CMS Headless. It uses Simple OAuth and Consumers modules for API authentication and makes integrating with front end applications easier with an API dashboard, dedicated front end developer roles, front end preview, automated API docs, and more!