Chapter 4. Setting up a token
Automation controller must contain a project based on a repository with certain playbooks designed to work with the Event-Driven Ansible rulebooks. Automation controller must also have corresponding job templates set up based on the playbooks in that project.
4.1. Setting up a token to authenticate to Ansible Automation Platform Controller
Prerequisites
- You are logged in to the Event-Driven Ansible controller Dashboard as a Content Consumer.
- You have created a user.
- You can log in to the Event-Driven Ansible controller Dashboard or you are added as a user in the organization.
Procedure
- Navigate to the Event-Driven Ansible controller Dashboard.
- From the top navigation panel, select your profile.
- Go to User details.
- Select Controller Tokens → Create controller token.
Insert the following:
- Name
- Insert the name.
- Description
- This field is optional.
- Token
Create the token in automation controller. For more information on creating the token, refer to the Users - Tokens section of the Automation controller User Guide.
NoteThe token must be in write-scope.
- Select Create controller token.
After saving the new token, you are brought to the Controller Tokens tab where you can delete the token.