Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Using synced credentials from Passwordstate with multiple users
#1
Hi Everyone,

I am syncing credentials via the Passwordstate plugin, using the user-based api and the "Sync only objects names" option since it's a requirement to not store passwords in RRD.

This works fine and I am also able to use the credentials with the same user as I run the sync.

I would like to sync the credentials with user A and than tie the credential objects to a connection that is used by user B.
Currently it's not possible for user B to use the conenction, if he starts it the error "Credential could not be retrieved - plugin reported an error" appears.

I am not sure if this issue is based on the permission in the environment or related to the plugin. 
The non-admin user has the permission to read the synced credential and use the connection.

Is it possible to get this working?

RRD Version: 2026 Patch 5
Passwordstate Version: 10.1 Build 10142
Reply
#2
You are using User based api - is this also available for User B? If you sync only object names, on each connect we will try to get the passwords from the Password Manager - do you have credentials assigned to the sync folder? Is that credential also available for User B? Then it should work...
Regards/Gruss
Oliver
Reply
#3
There is a credential object for the userbased api that is assigned to the sync folder and that user B can read. However it is necessary to put the api key into the passwordstate properties from the sync folder because otherwise the sync does not work.

Another observation:
The passwordstate properties on the sync folder only allows the use of personal values, event though the option "Usage for all users (override user selection)" is selected, user B is unable to see the properties that user A has set if he checks the sync folder.

In my opinion the properties can stay hidden for user B as long as he can use them in the background. This way the user can not extract the api key from the tool
Reply
#4
Ok changed it so it can be set for all (next version)
Regards/Gruss
Oliver
Reply
#5
(16-10-2026, 09:42 AM)DevOma Wrote: Ok changed it so it can be set for all (next version)

Thanks a lot!
Reply
#6
I have tested RRD 2027 Patch 1 and I now it's possible to use the synced credential with user B.
However the API key is now saved in clear text, and non admin user can read it.

Could you please hide the key for non admin users, or even better make it possible to save it into a credential object and assign it to the folder?
Reply
#7
Sure - make sense :-) Will try to give you an updated version tomorrow
Regards/Gruss
Oliver
Reply
#8
You can try the latest Beta version

https://rrddownloads.rocketsoftware.com/..._Setup.zip

API-Key will be read from assigned credentials - store the API-Key in Password field
Regards/Gruss
Oliver
Reply
#9
Thanks for the beta version, i tested it and it works great with the assigned credentials.

During my tests i found an interesting behaviour:
First for context, to test it I sync 2 password lists from Passwordstate: "Rocket-T0" and "Rocket-T1" - the option "Sync all objects in flat hierarchy" is disabled.
I have my admin user (user A) and my standard user (user B).

User A has configured the passwordstate sync.
User B has read access to the sync folder and the credentials used for the sync.

User A runs the sync, it completes successful, the navigation view refreshes automatically and I see one folder per passwordlist.
User B has the environment open, and does not see the synced credentials since he has not refreshed the navigation view yet. Because of this he decided to start the passwordstate sync himself, it does complete successful and the navigation view does NOT refresh automatically. After he refreshes the view manually (F5) two folders of each password list appear. Each folder contains all the credentials from the passwordlist. So everything is duplucated.

If i remove the duplicates and run the sync again, just one entry of a certain password get recreated.
If user B refreshes the view manually before he starts the sync no duplicates get created.

I think it would be good to fix this to avoid duplicate entries.
Reply
#10
Hm - really special case - ok, implemented a refresh data before we sync data from PasswordManager with saved data - that should solve the problem in most cases
Regards/Gruss
Oliver
Reply
#11
great thanks
do you now when 2027 patch 2 will be released?
Reply
#12
No date currently - you can try next Beta

https://rrddownloads.rocketsoftware.com/..._Setup.zip
Regards/Gruss
Oliver
Reply
#13
ok thanks
Reply




Users browsing this thread: 1 Guest(s)