AEM Granite Workflow Secrets | Community
Skip to main content
June 8, 2023
Solved

AEM Granite Workflow Secrets

  • June 8, 2023
  • 1 reply
  • 744 views

Hello!

I have developed a custom granite workflow using Java for AEM 6.5 which uses the AWS SDK for Java to invalidate Amazon CloudFront cache for a page the workflow runs on. I am required to pass in authentication secret tokens to use this SDK. What is the best way to pass in secrets to an AEM granite workflow so that the credentials do not get compromised?

Any help would be appreciated, thanks!

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Saravanan_Dharmaraj

@dbenam Please check this out on how to use the crypto support to store the secrets

 

https://hashouttech.com/blog/How-to-encrypt-Plain-text-and-decrypt-Protected-text-in-Adobe-Experience-Manager

 

 

1 reply

Saravanan_Dharmaraj
Community Advisor
Saravanan_DharmarajCommunity AdvisorAccepted solution
Community Advisor
June 8, 2023

@dbenam Please check this out on how to use the crypto support to store the secrets

 

https://hashouttech.com/blog/How-to-encrypt-Plain-text-and-decrypt-Protected-text-in-Adobe-Experience-Manager

 

 

dbenamAuthor
June 9, 2023

Thanks Saravanan! I just implemented this on my workflow and it's working great. Much appreciated!