passbolt_cli icon indicating copy to clipboard operation
passbolt_cli copied to clipboard

New command: Create password

Open 3guboff opened this issue 5 years ago • 5 comments

Hello! Will be really nice, if via this cli will have options of creating passwords. I tried find some exist solution for this, but no luck. This feature will help with creating passwords in automatization processes.

3guboff avatar Feb 17 '21 15:02 3guboff

Hi @3guboff If by creating passwords you mean storing password records without the GUI, have you taken a look at the passbolt API already? https://api-reference.passbolt.com/ https://help.passbolt.com/api/authentication

Some pages are in the process of getting updated but if you end up using the API and run into trouble, feel free to post in the forum with any questions.

garrettboone avatar Feb 17 '21 21:02 garrettboone

storing password records without the GUI

Yes

have you taken a look at the passbolt API already?

Yes, it's not easy to use with simple tool like curl. That why I'm looking for ready to use solutions instead of writing something by self. This repo already contain command line client, but without write ability it's useless.

3guboff avatar Feb 18 '21 08:02 3guboff

@3guboff There is a place on the community forum for requests of new features. https://community.passbolt.com/c/backlog/6

The command line tool is not going to replace the API as their purposes are separate. Curl is able to be used with the API but the documentation of how to do so is not on the site. However, Swagger UI has a built in curl command if you decide to install it locally for your own development.

garrettboone avatar Feb 18 '21 14:02 garrettboone

However, Swagger UI has a built in curl command if you decide to install it locally for your own development.

Did you try use curl for authenticate for example? Do you have proof of concept?

Anyway, I found this project: https://github.com/liip/wrench with functionality what I need. Will be great it official cli will be improved with this so important feature. Thanks.

3guboff avatar Feb 18 '21 15:02 3guboff

@3guboff https://help.passbolt.com/api/authentication shows the sequence with examples. You could use curl, php, Postman, etc. The help site currently does not show the api sub-menu on mobile devices so make sure to look on a non-mobile device.

garrettboone avatar Feb 18 '21 16:02 garrettboone