Open
Description
SUMMARY
Support for adding macros with value that should be set as secret on template.
ISSUE TYPE
- Feature Idea
COMPONENT NAME
ADDITIONAL INFORMATION
According to API docs it should be possible to set the macro type on template level to be either secret or vault as type. This ensures that the value is hidden in UI after being added. Currently the zabbix_template module only supports two parameters, macro and value. Value_type should be added to support the secret type as well.
fatal: [zabbix]: FAILED! => {"changed": false, "msg": "Unsupported parameters for (community.zabbix.zabbix_template) module: macros.type. Supported parameters include: macro, value."}
https://www.zabbix.com/documentation/current/en/manual/api/reference/template/create
https://www.zabbix.com/documentation/current/en/manual/api/reference/usermacro/object