if I create a user token for use with an automated...
# dagster-plus
r
if I create a user token for use with an automated
dagster-cloud workspace add-location
- does it inherit the permissions of the user it was created for? If we delete that user from our instance does the token survive? We would prefer to create a "user" token associated with the org not a user, and with a specific set of permissions not related to a specific user account - is that possible?
d
You can use an agent token for this API call if you like - adding the concept of a service user is on our roadmap for purposes like this, but not currently possible
a user token does inherit the permissions of the user it was created for, and it will go away if the user is removed - an agent token does not
r
oh, ok I thought an agent token was only for use with an agent, and the docs say to create a user token to invoke the api. thanks.
d
no problem - it's kind of a stopgap solution until service user accounts are available