infisical icon indicating copy to clipboard operation
infisical copied to clipboard

Option for enabling the "Offline" mode with a flag like `--prefer-offline`

Open daguitosama opened this issue 1 year ago • 1 comments

Feature description

A way to tell the CLI to use the fallback local cache of the secrets instead attempting to use the network. As described on #1609

Why would it be useful?

When developing locally, on a very very unstable network, you end up waisting a lot of time waiting to fetch secrets. If you know those secrets haven't change, there is no point to make a roundtrip and keep a connection open waiting to reload secrets. Been able to bypass the network is going to help a lot in this unaffortunate scenario.

Additional context

Using the CLI when developing locally. On a very bad network.

daguitosama avatar Sep 26 '24 18:09 daguitosama

Really surprised this isn't already an option, it'd be nice to save a second or two for every command we run with Infisical (dozens per day)

michaelhays avatar Apr 07 '25 20:04 michaelhays