Skip to main content
June 8, 2023
Beantwortet

AEM Granite Workflow Secrets

  • June 8, 2023
  • 2 Antworten
  • 766 Ansichten

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!

Dieses Thema wurde für Antworten geschlossen.
Beste Antwort von 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

 

 

2 Antworten

Saravanan_Dharmaraj
Community Advisor
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

 

 

dbenamAutor
June 9, 2023

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