Unkown error while trying to create Send via API using php script

Just getting to this, from my testing it doesn’t appear so. In my brief testing the only way seems to be through the use of an env variable as discussed in Password Manager CLI | Bitwarden Help Center

While not super helpful :face_with_diagonal_mouth:, I am wondering if there would be a method to have your PHP script grab the API credentials from the database and set these environment variables.
Presumably you’ll also need to pass either --passwordenv or --passwordfile to Unlock the CLI or use a session token to fully create a Send

2 Likes