Community

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Popular
    • Users
    • Search

    API password encoding

    Development
    2
    3
    284
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • F
      fa__ last edited by

      Hello,

      I would like to use the API to retrieve information about our equipment, including passwords.
      Using method cmdb.category.read to get category C__CATG__PASSWD returns a password field that seems to be the password encoded. However, I have not been able to identify the encoding. What kind of encoding is it? How should I decode a password obtained through API?

      LFischer 1 Reply Last reply Reply Quote 0
      • LFischer
        LFischer @fa__ last edited by

        Hello @fa__

        it sounds like you'll have to set the expert setting password.decrypt.in-export-import to 1.

        Best regards
        Leo

        F 1 Reply Last reply Reply Quote 0
        • F
          fa__ @LFischer last edited by

          Thank you @lfischer .
          That solved the issue, now the API returns the password decrypted.

          1 Reply Last reply Reply Quote 0
          • First post
            Last post