Difference between revisions of "NextCloud: Heroku: Install: Add S3 Environment Variables"

From Gratiel's Wiki
(Created page with "== Environment Variables == We will now need to update Heroku's Environment Variables with the Keys from S3. Again, to keep the security credentials out of the git repository....")
 
 
Line 12: Line 12:
 
[[File:Heroku - Settings - Config Vars - Nextcloud.png |center| Heroku - Settings - Config Vars - Nextcloud ]]
 
[[File:Heroku - Settings - Config Vars - Nextcloud.png |center| Heroku - Settings - Config Vars - Nextcloud ]]
  
−
Add all the Environment Variables (Config Vars) shown below, and be sure to add the associated values that correspond to your app.
+
Add four new keys and associated values to the config vars for S3:
−
[[File:Heroku - Settings - Config Vars - Nextcloud.png |center| Heroku - Settings - Config Vars - Nextcloud ]]
+
* S3_BUCKET
 +
* S3_KEY
 +
* S3_SECRET
 +
* S3_REGION
 +
[[File:Heroku - Settings - Config Vars - S3.png |center| Heroku - Settings - Config Vars - S3 ]]
  
  

Latest revision as of 17:44, 16 September 2019

Environment Variables

We will now need to update Heroku's Environment Variables with the Keys from S3. Again, to keep the security credentials out of the git repository.

Heroku Settings

To get to Heroku's Environment Variables, we need to get to the Settings Tab Section. In your dashboard, go to the infinite-lowlands-88888 app. You will be in the Overview tab section.

Heroku - Overview Tab Section

Select the Settings Tab Section

Heroku - Settings Tab Section

Click on the Reveal Config Vars button to view the Environment Variables associated to your app.

Heroku - Settings - Config Vars - Nextcloud

Add four new keys and associated values to the config vars for S3:

  • S3_BUCKET
  • S3_KEY
  • S3_SECRET
  • S3_REGION
Heroku - Settings - Config Vars - S3


Return