dvclive icon indicating copy to clipboard operation
dvclive copied to clipboard

studio: Cache credentials

Open daavoo opened this issue 3 years ago • 2 comments

do we need to store these tokens stored somewhere in "${XDG_DATA_HOME:-$HOME/.local/share}/dvclive/credentials.toml"? To be able to cache them and not care about setting them all time. from @mvshmakov

daavoo avatar Oct 21 '22 08:10 daavoo

Assigning low priority for now because there are workarounds like handling in .env files https://pypi.org/project/python-dotenv/ and this can cause a discrepancy between Local and Remote setup (in remote setup, env vars make more sense in order to be combined with GitHub/GitLab secrets)

daavoo avatar Oct 21 '22 08:10 daavoo

Also, there is a direnv for (non-)nix environments which also solves this problem to some extent. Though, say, gh-cli and aws-cli cache their creds in a way defined in this issue.

mvshmakov avatar Oct 21 '22 08:10 mvshmakov

Will not be addressed by DVCLive

daavoo avatar Apr 14 '23 17:04 daavoo