Skip to main content
March 13, 2024
Question

Is there possible way to hide API Key in EML file when sent mail with adaptive card in outlook?

  • March 13, 2024
  • 1 reply
  • 0 views

I recently received a requirement to enable the acceptance or rejection of tasks directly through email by clicking a button, rather than navigating into Appian. To achieve this, I created a Web API to trigger the process model and configured it with a service account for external access. Additionally, I utilized Actionable Messages with Adaptive Cards for Outlook and designed an HTML template using the below Adaptive JSON code



  
    
    
    
	    
  
  

  

and configure it "Send Email" smart service. Once I send an email, I receive the mail with two buttons as described below.

Clicking the buttons triggers the process model in the API and everything works fine. However, when I download the EML file of that email, it exposes the endpoint along with the Appian API Key in the Adaptive JSON code. It would be beneficial to find a solution that prevents the exposure of the endpoint and API, or encrypts it in any form, while ensuring that the functionality works seamlessly.

    1 reply

    stefanhelzle0001
    March 13, 2024

    IMHO, that whole requirement feels like an idea I would refuse to implement.

    And no, to call that API you need credentials and I think there is no way to somehow include these in a secure way.