Kopia repository create filesystem

I would like to use the command silently in code:

kopia repository create filesystem --path <repo path> -p $KOPIA_PASSWORD

However, I’m still being prompted for the repo password. Am I stuck having to do this manually?

Did you export your password into the KOPIA_PASSWORR env variable? E.g. something like this:

export KOPIA_PASSWORD="YOURPASSWORD"

Oops. Of course you are correct. In all my bungling I didn’t refresh that variable. It now run through without issue. Thanks.