Open rnozaki opened 1 year ago
What will be the use case for that?
You can obtain an access key directly from SNow and use it in the playbook. We already support access_token
.
AAP uses the inventory plugin from servicenow.itsm to read CMDB data from ServiceNow:
This issue is a request to allow such tokens to be obtained, when optional fields like the URL for the external call is passed, and then used in the remaining of the inventory logic.
The customer has even implemented the solution for this, but Tim was going to check if adding this feature to the collection would be allowed, as this is not applicable for all users.
SUMMARY
In some environments, the access token is obtained by passing the user and password to a custom REST API. The purpose of this request is to enable the inventory plugin to also work when the authentication is done in this 2 step approach.
ISSUE TYPE
COMPONENT NAME
Inventory plugin.
ADDITIONAL INFORMATION