Assign platform access addresses to devops components in business clusters
Description of the scene
When assigning tools to projects, there are two authentication methods available: Token and OAuth2. What are the differences between these two methods?
The solution
The only difference between the two authentication methods is the mode of authentication.
-
Token Authentication: To use this method, you need to set Token permissions for the assigned tool (permissions can be set by the user and can be modified), generate a Token, and then copy the Token to the project for assignment. No third-party authorization is required during the assignment process.
-
OAuth2 Authentication: To use this method, you need to create an OAuth2 application for the tool (depending on the platform, permissions can be set by default or by the user, and it is recommended to select all permissions), and then fill in the credentials with the generated Client ID and Client Secret before assigning the project.