Non-interactive commands

Is it possible to create and connect to repositories using the CLI without having to pass in a password? Or is possible to pass the password into the CLI commands as a flag?

My apologies if this is a duplicate issue or has already been answered elsewhere.

Yes. You can pass KOPIA_PASSWORD environment variable but that is generally only necessary to connect to repo. After that Kopia will cache the password for subsequent operations until disconnect

1 Like