Security

issue : want to hide/encrypted text password

pragycho
Loves-to-Learn

Hi ,
i have AD server configuration GUI page in my app where i am setting user_id , password, Group in data input .
so after setting text password and saving page, i can see GUI is showing text password , not encrypted password.
What edits do I need to make in my configurations to hide passwords when i am configuring AD server password?
here is file

app1.xml
======================================


      <endpoint name="data/inputs/app_reporting">

       <header>AD Server Details</header>
             <breadcrumb>
    <parent hidecurrent ="False"> data input stats </parent>
    <name>AD Server Details</name>


    <element name= 'sourceFields' type=" fieldset ">
      <view name="list"/>
      <view name="edit"/>
      <view name="create"/>

      <elements>
        <element name="name" label="AD or LDAP Configurations">
          <view name="list"/>
             <view name="create"/> 
                   <key name="exampleText">Configure this instance to monitor files and directories for AMP logs
                   </key>
        </element>

        <element name="servername" type="textfield" label="AD ServerName">
          <view name="list"/>
          <view name="edit"/>
          <view name="create"/>
           <key name="exampleText">Give AD Server to connect</key>
        </element>

    <element name="username" type="textfield" label="AD UserName">
          <view name="list"/>
          <view name="edit"/>
          <view name="create"/>
          <key name="exampleText">Give AD user to connect</key>
        </element>

        <element name="passcode" type="password" label="AD Password">
          <view name="edit"/>
          <view name="create"/>
          <key name="exampleText">Give AD user`s password to connect</key>
        </element>
        <element name="group" type="textfield" label="AD GroupName">
                  <view name="list"/>
                  <view name="edit"/>
                  <view name="create"/>
                  <key name="exampleText">Give AD group to connect</key>
        </element>

  </elements>
</element>
<element name="eai:acl.app" label="App">
  <view name="list"/>
  <key name="processValueList">"app_reporting"</key>
</element>
0 Karma

woodcock
Esteemed Legend

Are you using the add-on-builder? It has this built-in. You can use it and see what code it generates and then just copy that out.

0 Karma

pragycho
Loves-to-Learn

yes , we are using app .
please help me on how to generate code and where we can get code ?

0 Karma

lakshman239
Influencer

Open your add-on in the Add-on builder, and in the setup page, use the 'password' text box for password.The user will need to have edit_storage capability . This will save the password in an encrypted form . https://docs.splunk.com/Documentation/AddonBuilder/2.2.0/UserGuide/Createasetuppage

0 Karma

pragycho
Loves-to-Learn

I am using our own APP which is created via splunk.
1) can we modify Password through through "Add=on builder"
2) if i want to add new setup page in Settings--->data inputs---> new page like UDP ,TCP ,Scripts.
Is it possible to create through ADD-On builder?

0 Karma

lakshman239
Influencer

You can create your setup page on your own or use add-on builder and create your app/add-on

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Index This | What travels the world but is also stuck in place?

April 2026 Edition  Hayyy Splunk Education Enthusiasts and the Eternally Curious!   We’re back with this ...

Discover New Use Cases: Unlock Greater Value from Your Existing Splunk Data

Realizing the full potential of your Splunk investment requires more than just understanding current usage; it ...

Continue Your Journey: Join Session 2 of the Data Management and Federation Bootcamp ...

As data volumes continue to grow and environments become more distributed, managing and optimizing data ...