I’m using the Doppler Postman sync to get my secrets synced with Postman. With the initial setup this work as expected. However if I change secret in Doppler the corresponding variable in Postman is not updated correctly I believe. The sync is updating the variable->Initial value instead of the variable->Current value. Is their something I configure so the sync will update the current value.
Regards
Mike
Hi @MikevdBerge!
Unfortunately, this is just an idiosyncrasy of how Postman works. As near as we could tell, there isn’t a way to change that behavior or update the current value programmatically. If you see something that suggests otherwise, let me know, but I do know when we were creating this integration this issue came up and there wasn’t really a way around it that we could find.
Regards,
-Joel
One way to solve the issue is to do a get Environment to get the current values and then delete the environment and recreate it with the values from the get Environment and Doppler secrets.
Or just ignore and vars the user created in Postman. Postman will not store the current value in the cloud and the idea is that you keep your secrets in your local environment and not store them in the Postman Cloud. Now if you want to be really safe you could do an update to the vars and make them empty so no initial values will be in the Postman cloud and only the current value is stored. One thing I noticed while testing this is that if you would provide only 1 char for the update it will update both the initial and current value so in order to blank the inital value you need to supply two spaces.
Hope this makes sense
Kind regards
Mike