tss lookup plugin: Add ability to provide additional query parameters when requesting a secret #9033
Labels
feature
This issue/PR relates to a feature request
lookup
lookup plugin
module_utils
module_utils
plugins
plugin (any type)
Summary
Add ability to provide additional query parameters when requesting a secret as detailed in the API. https://updates.thycotic.net/secretserver/restapiguide/11.6.3/WinAuth/#tag/Secrets/operation/SecretsService_GetSecretV2
SUMMARY
Add the ability to include additional query parameters as outlined in the Secret Server API. Over time, the query parameters have changed, so it might be prudent to allow an array of free-text query parameters be added. This will allow the engineer to easily control when field name changes or is added rather than hard coding the query parameter names into the module. That is more of a suggestion based on my experiences with the Secret Server API, not a requirement.
As noted in the previous thread, some of the fields such as "autoComment" are required for some types of secrets and the current implementation does not allow for this to work.
ISSUE TYPE
Feature Pull Request
COMPONENT NAME
community.general/plugins/lookup/tss.py
ADDITIONAL INFORMATION
Issue Type
Feature Idea
Component Name
plugins/lookup/tss.py
Additional Information
Code of Conduct
The text was updated successfully, but these errors were encountered: