It is possible to do that safely using [1password's cli](https://developer.1password.com/docs/cli/get-started/#install).