Generate a token in the console
Use the console to generate an authentication token that you can use to access PE APIs. If SAML is configured, you must have a token to use CLI tools, such as orchestrator jobs or PuppetDB queries triggered from the command line. Generate and export a token to the machine you want to run the CLI tool on.
- In the console, on the My account page, click the Tokens tab.
- Click the Generate new token tab.
- Under Description, enter a description for your new token.
- Under Lifetime, select the length of time you want your token to be good for.
- Click Get token.
- Click Copy token. Store the token somewhere secure and do not share it with others. You cannot regenerate this token again once you close this page.
- Click Close.






