Update within Docker container

I have a secret that will need to be updated within the course of running the Docker container - let’s call that REFRESH_TOKEN.

When the docker container starts, we pass that in but inside the Node application, that REFRESH_TOKEN will change. I want to update that when it happens, but since there is no Node SDK presently, I’d have to use the API Reference method of the Doppler API, which I’m fine with. But to do that, I need to use my PERSONAL token, since Service Tokens are read-only.

Is the expected way of doing that to use a Personal Token? And I store that in the project secrets?

Hi @veverkap and welcome to the Doppler community!

Yes, personal tokens are designed specifically to be used with our API, and your approach of exposing it as a Doppler secret sounds good too.