granted icon indicating copy to clipboard operation
granted copied to clipboard

Add recipe for using Granted CLI with VS Code devcontainers

Open chrnorm opened this issue 2 years ago • 2 comments

chrnorm avatar Aug 31 '22 11:08 chrnorm

So there is there a way to get assume to work inside a devcontainer then? I ran into

Granted could not detect an existing installation of xxx at known installation paths for your system

which actually made sense that it couldn't continue, since the host browser wouldn't be visible inside the container.

jpo-tu avatar Oct 04 '22 01:10 jpo-tu

@jpo-tu you need to use Stdout for a browser option and then it will take you to a sign-in page within a default browser on your host machine.

However, you'll eventually get stuck again with granted requesting a passphrase, as confirmed here too: https://medium.com/@josh.armitage/using-granted-in-a-dev-container-e355a3045c70

evbo avatar May 31 '24 19:05 evbo