obsidian-git icon indicating copy to clipboard operation
obsidian-git copied to clipboard

[Bug]: aws command not found when using credential helper

Open gontxomde opened this issue 1 year ago • 0 comments

Describe the bug

I have an Obsidian Vault located in AWS codecommit. My authentication in this repo uses the command aws codecommit credential-helper.

If I use a terminal, navigate to the repo and I try to pull/push, it works.

Using the command palette, I try to pull and the following error pops up:

aws codecommit credential helper $@ get: aws: command not found fatal: could not read username for <repo URL>

I have tried to include the path of the aws command in the section "Additional PATH environment variable paths" but it has changed nothing.

Also I have noticed that when I change the PATH I cannot fin that change in the data.json file. I have also tried to change the SHELL evironment variable. It keeps failing and I cannot find that in the data.json file neither. But as I have said, I don't know if this is the expected behaviour

Relevant errors (if available)

aws codecommit credential helper $@ get: aws: command not found
fatal: could not read username for <repo URL>

Steps to reproduce

Use a repo that needs an aws credential helper and try to make the pull

Expected Behavior

The plugin sh

Addition context

No response

Operating system

macOS

Installation Method

AppImage

Plugin version

2.17.4

gontxomde avatar Mar 16 '23 12:03 gontxomde