common-fate / granted

The easiest way to access your cloud.
https://granted.dev
MIT License
955 stars 90 forks source link

Allow automatic login to be specified globally #666

Closed chrnorm closed 1 month ago

chrnorm commented 1 month ago

What changed?

Adds CredentialProcessAutoLogin field to ~/.granted/config. It is equivalent to specifying the --auto-login=true flag for the granted credential-process command.

Why?

Allows this to be set globally, rather than specified per-profile which is more cumbersome (and doesn't play nicely with automatic profile generation).

How did you test it?

Currently untested, requires a prerelease test.

Potential risks

Quite low as it is an optional flag change