VCP-CMA 2024 Question 124
Single answerYou are configuring an endpoint in VMware Aria Automation Pipelines to integrate with a Git repository. The organization requires secure authentication and wants to ensure that the pipeline can fetch code from private repositories. Which configuration step must you perform to meet these requirements?
- A
Add the Git repository URL and select 'Public' as the repository type.
- B
Configure a Personal Access Token (PAT) and associate it with the endpoint.
- C
Enable the 'Auto-discovery' option to automatically detect private repositories.
- D
Use a service account username and password for authentication instead of a token.
Show answer and explanation
Correct answer: B
Explanation
When integrating a Git repository with VMware Aria Automation Pipelines, secure and seamless access to private repositories is essential. Configuring a Personal Access Token (PAT) ensures that the pipeline can authenticate securely and fetch code from private repositories. This method is preferred over less secure alternatives like username and password.
- A. Incorrect.
This option is incorrect because selecting 'Public' as the repository type would not allow access to private repositories, which require authentication.
- B. Correct.
This option is correct because a Personal Access Token (PAT) is the secure method recommended for authenticating against private Git repositories in VMware Aria Automation Pipelines.
- C. Incorrect.
This option is incorrect because 'Auto-discovery' does not address authentication for private repositories, and it is not a required step for Git integration.
- D. Incorrect.
This option is incorrect because using a username and password is less secure compared to using a Personal Access Token (PAT), which is the preferred method in VMware Aria Automation Pipelines.