Hey there, do we have a way to update env variable...
# dagster-plus
p
Hey there, do we have a way to update env variables in Dagster Cloud programmatically? E.g. updating expiring API access tokens based on refresh tokens?
🤖 1
z
I think there are CreateSecret / UpdateSecret GraphQL endpoints
p
Thanks! I did not wander yet to this section of the docs. Much appreciated!
z
It's not really well documented, you kind of have to go diving into the GraphQL playground looking for endpoint treasure
But it seems that the UI communicates with the backend through the GraphQL interface, so most of the things you can do in the UI are doable programmatically through GraphQL
p
Yeah, I have no problem doing that. Honestly I didn't even know that it's there, so I had no idea where to start. But you pointed me to the right direction!
🎉 1