aboutsummaryrefslogtreecommitdiffhomepage
path: root/snap
diff options
context:
space:
mode:
authorJoe Mooring <[email protected]>2023-07-08 08:36:42 -0700
committerJoe Mooring <[email protected]>2023-07-08 09:43:04 -0700
commit72510969a6cbf6babc4d675621db82ff98c59699 (patch)
tree9ef77f8f422a18f94152309a8d26215b7c159cc0 /snap
parent70c5e485bb91dfb1f74791f3fb52b1fdebc04ee1 (diff)
downloadhugo-72510969a6cbf6babc4d675621db82ff98c59699.tar.gz
hugo-72510969a6cbf6babc4d675621db82ff98c59699.zip
snap: Allow access to AWS, Azure, and GCS config/credentials
Fixes #11122
Diffstat (limited to 'snap')
-rw-r--r--snap/snapcraft.yaml19
1 files changed, 17 insertions, 2 deletions
diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml
index 7ce58d042..2c5fa7dc0 100644
--- a/snap/snapcraft.yaml
+++ b/snap/snapcraft.yaml
@@ -45,8 +45,20 @@ plugs:
interface: personal-files
read:
- $HOME/.gitconfig
- - $HOME/.config/git # Allows $HOME/.config/git/config and more
- - $HOME/.gitconfig.local # See #10337
+ - $HOME/.config/git
+ - $HOME/.gitconfig.local
+ dot-aws:
+ interface: personal-files
+ read:
+ - $HOME/.aws
+ dot-azure:
+ interface: personal-files
+ read:
+ - $HOME/.azure
+ dot-config-gcloud:
+ interface: personal-files
+ read:
+ - $HOME/.config/gcloud
environment:
HOME: $SNAP_REAL_HOME
@@ -80,6 +92,9 @@ apps:
- removable-media
- etc-gitconfig
- gitconfig
+ - dot-aws
+ - dot-azure
+ - dot-config-gcloud
parts:
git: