ansible-modules-bitwarden
ansible-modules-bitwarden copied to clipboard
Get all items in folder
Hello, is ist possible to get all items in a folder with their name (and the other fields)? I want to automate the registration of VPN Clients and SSH Keys and manage their secrets already with bitwarden. Kind regards
This module doesn't support that at the moment. Since we're just wrapping the bw CLI command, I think the way to do it would be to use the bw list folders command to get the folder IDs, then run a bw list items --folderid <id> to grab the items. Perhaps using a 'folder' param to lookup() to specify which folder you're interested in. I have to admit I don't have this use case, but I can see about implementing the functionality. If you'd like to send a PR I'd be happy to merge it.