How do I reset a Workspace Access Token?
Prerequisites
Why do I need this configuration?
After creating your Workspace Access Token, Wayfinder displays the secret value for the WAYFINDER_TOKEN variable. This display happens only once. If you fail to make a note of it, you will need to reset the token to assign a new value.
warning
If you have used the old token, for example in a CI system, you must replace all occurences of the old token with the new one.
CLI commands
FORMAT to reset the token:
wf create workspaceaccesstoken TOKEN-NAME --reset-token --show-token
EXAMPLE
wf create workspaceaccesstoken wf-app1deploy --reset-token --show-token
EXPLANATION
In the example above, you've reset the app1-token
workspace access token. Use the --show-token
flag to print the secret value of the WAYFINDER_TOKEN variable to the console.
Web Interface Instructions
Screenshot(s)
Steps
- Expand Workspaces > Your-Workspace-Name, and then navigate to Settings
- Select the Access Tokens tab
- Select the name of your access token
- Click the Regenerate token button
- Click the Yes, generate new token button