Is there a way to disable the production token so ...
# ask-metaflow
w
Is there a way to disable the production token so anyone can update my flow?
βœ… 1
v
yeah, you can set a custom token with
create --new-token
e.g.
--new-token shared
-- then tell everyone to use
shared
as the token
there's no way to disable it altogether
w
cool, this is good enough
πŸ‘ 1
er.. it says
--new-token is not supported for @projects. Use --generate-new-token to create a new token.
. But
--generate-new-token
doesnt take any parameters πŸ˜•
v
ah, if you are using
@project
then sharing the autogenerated token is the easiest option
w
by the way, isn't the token visible in the Step Function details? so people can just look it up there?
v
yep, or you can look it up using the Client API. It’s not a security feature, just a safeguard to prevent fat-fingering
w
Discovered an easy way to bypass the token by overriding the USER variable to the original user πŸ˜‚
v
that works too - arguably a less elegant approach πŸ™‚