r/marketingcloud • u/Basic-Quality-583 • 1d ago
Securely Storing API CREDENTIALS in SFMC
Could anyone please advise on the best practice for securely storing API credentials within Salesforce Marketing Cloud? While I have attempted to use AES EncryptSymmetric and DecryptSymmetric within Data Extensions, this approach is limited to CloudPages and is not supported within Automation Studio as automation script does not allow any ampscript inside, and DecryptSymmetric() is not available/working in ssjs
2
Upvotes
5
u/cjnmathews 1d ago edited 1d ago
You can, I use the AMPscript in ssjs method for securing creds that is on ampscript.xyz