]> git.maquefel.me Git - brevno-suite/hugo/commitdiff
snap: Allow access to AWS, Azure, and GCS config/credentials
authorJoe Mooring <joe.mooring@veriphor.com>
Sat, 8 Jul 2023 15:36:42 +0000 (08:36 -0700)
committerJoe Mooring <joe@mooring.com>
Sat, 8 Jul 2023 16:43:04 +0000 (09:43 -0700)
Fixes #11122

snap/snapcraft.yaml

index 7ce58d042d677ee0c4bd950b400a76a70c18c91c..2c5fa7dc06c34b0668f7dc476f88926e89f7387a 100644 (file)
@@ -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: