SDK Secrets.list()
requires a organizationId
while bws secrets list
doesn't
#944
Labels
bug
Something isn't working
Steps To Reproduce
cli run
bws secrets list
-> get secretssdk run
Secrets.list()
-> need organizationIdhttps://github.com/bitwarden/sdk/blob/b8a024f837a65338e9b6a1f0103a0dfe4ba85632/crates/bitwarden-json/src/command.rs#L112
https://github.com/bitwarden/sdk/blob/b8a024f837a65338e9b6a1f0103a0dfe4ba85632/crates/bitwarden-sm/src/secrets/list.rs#L15-L18
bws gets the org_id from the token, why cant the sdk do the same?
https://github.com/bitwarden/sdk/blob/b8a024f837a65338e9b6a1f0103a0dfe4ba85632/crates/bws/src/main.rs#L103-L109
Issue Tracking Info
The text was updated successfully, but these errors were encountered: