snap: Allow access to AWS, Azure, and GCS config/credentials - hugo - [fork] hugo port for 9front
HTML git clone git@git.drkhsh.at/hugo.git
DIR Log
DIR Files
DIR Refs
DIR Submodules
DIR README
DIR LICENSE
---
DIR commit 72510969a6cbf6babc4d675621db82ff98c59699
DIR parent 70c5e485bb91dfb1f74791f3fb52b1fdebc04ee1
HTML Author: Joe Mooring <joe.mooring@veriphor.com>
Date: Sat, 8 Jul 2023 08:36:42 -0700
snap: Allow access to AWS, Azure, and GCS config/credentials
Fixes #11122
Diffstat:
M snap/snapcraft.yaml | 19 +++++++++++++++++--
1 file changed, 17 insertions(+), 2 deletions(-)
---
DIR diff --git 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: