aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuillermo Iguaran <guilleiguaran@gmail.com>2017-08-01 14:55:55 -0500
committerGitHub <noreply@github.com>2017-08-01 14:55:55 -0500
commit211b3976d14fabba4af6c25ec4a48ed91441fa75 (patch)
tree7b60c4b79a31625a1479dac543357e67eec7b846
parentd66fadeb676eec32670b944cdf9fb273deba31aa (diff)
parent55e610455dc7abefb3b94a0cd76fa2b86ffc5921 (diff)
downloadrails-211b3976d14fabba4af6c25ec4a48ed91441fa75.tar.gz
rails-211b3976d14fabba4af6c25ec4a48ed91441fa75.tar.bz2
rails-211b3976d14fabba4af6c25ec4a48ed91441fa75.zip
Merge pull request #30034 from ffmike/patch-1
Add Azure configuration to Active Storage template
-rw-r--r--railties/lib/rails/generators/rails/app/templates/config/storage_services.yml8
1 files changed, 8 insertions, 0 deletions
diff --git a/railties/lib/rails/generators/rails/app/templates/config/storage_services.yml b/railties/lib/rails/generators/rails/app/templates/config/storage_services.yml
index 4ec2842145..300fcfcb21 100644
--- a/railties/lib/rails/generators/rails/app/templates/config/storage_services.yml
+++ b/railties/lib/rails/generators/rails/app/templates/config/storage_services.yml
@@ -21,6 +21,14 @@ local:
# keyfile: <%= Rails.root.join("path/to/gcs.keyfile") %>
# bucket: your_own_bucket
+# Use rails secrets:edit to set the Azure secret (as shared:azure:storage_access_key)
+# microsoft:
+# service: Azure
+# path: your_azure_storage_path
+# storage_account_name: your_account_name
+# storage_access_key: <%= Rails.application.secrets.dig(:azure, :storage_access_key) %>
+# container: your_container_name
+
# mirror:
# service: Mirror
# primary: local