Ad Widget

Collapse

Get unmasked secret value through API

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • rivermigue
    Junior Member
    • Jul 2024
    • 8

    #1

    Get unmasked secret value through API

    Hi, is it possible to get the unmasked secert value of a macro through the api? I am trying to maintain control of my host macros through puppet, knowing the value for the secret is essential to ensure what has been written in puppet definition matches what we have in zabbix.

    I am using zabbix 7.0 LTS in cluster mode in Alma Linux 8.

    Thank you.
  • omar.cacciotti
    Junior Member
    • Jul 2021
    • 25

    #2
    I'm interested, someone knows?

    Comment

    • cyber
      Senior Member
      Zabbix Certified SpecialistZabbix Certified Professional
      • Dec 2006
      • 4807

      #3

      https://www.zabbix.com/documentation...ermacro/object
      value string Value of the macro.

      Property behavior:
      - write-only if type is set to "Secret macro"
      - required for create operations
      It would be against any essence of secrets if it would be so easy to bypass..

      Comment

      Working...