Skip to content

Commit

Permalink
snap: Allow access to AWS, Azure, and GCS config/credentials
Browse files Browse the repository at this point in the history
Fixes #11122
  • Loading branch information
jmooring committed Jul 8, 2023
1 parent 70c5e48 commit 7251096
Showing 1 changed file with 17 additions and 2 deletions.
19 changes: 17 additions & 2 deletions snap/snapcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -80,6 +92,9 @@ apps:
- removable-media
- etc-gitconfig
- gitconfig
- dot-aws
- dot-azure
- dot-config-gcloud

parts:
git:
Expand Down

0 comments on commit 7251096

Please sign in to comment.