Unable to generate API token on Aria Automation Pipelines 8.12.0

Symptoms

  • Unable to generate API token on Aria Automation Pipelines 8.12.0 Prelude when creating Git Webhooks. If the API token is not generated, customer will not be able to create Git Webhooks.


Cause

  • The CSP API to generate API Token is changed. The current API that is used in Aria Automation Pipelines is deprecated and needs to updated with latest Token generation API.


Impact / Risks

  • Customer will be able to generate the API token and there by create Git webhooks.


Resolution

  • This is resolved in 8.12.2. There is a workaround for 8.12. See workaround section.


Workaround

The workaround is to generate a token manually using below command and save it in a variable. The <vRA_base_url>, <Bearer token>, <username>, <password>,?<domain> must be replaced in below command.The variable can be reused in the webhooks.

?
curl --location 'https: //<vRA_base_url>/csp/gateway/am/api/login?access_token=null' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer <Bearer Token>' \
--data-raw '{
    "username":"<username>","password":"<password>","domain": "<domain>"
}'         


要查看或添加评论,请登录

Mohammad Shahid Ansari的更多文章

社区洞察