title: How to "Pass configuration data to your plug-in" and what's the purpose of the same ? Any real time scenario with example?
body: <p>What's the use of passing configuration data to plugin and how to do this ? </p>
  
  <p><a href="https://docs.microsoft.com/en-us/powerapps/developer/common-data-service/write-plug-in" rel="nofollow noreferrer">https://docs.microsoft.com/en-us/powerapps/developer/common-data-service/write-plug-in</a></p>
  
  <p>Pass configuration data to your plug-in
  When you register a plug-in you have the ability to pass configuration data to it. Configuration data allows you to define how a specific instance of a registered plug-in should behave. This information is passed as string data to parameters in the constructor of your class. There are two parameters: unsecure and secure. Use the first unsecure parameter for data that you don't mind if people can see. Use the second secure parameter for sensitive data.</p>
  
  <p>The following code shows the three possible signatures for a plug-in class named SamplePlugin.</p>
  
  <pre><code>public SamplePlugin()  
  public SamplePlugin(string unsecure)  
  public SamplePlugin(string unsecure, string secure)
  </code></pre>