Azure / api-management-policy-snippets

Re-usable examples of Azure API Management policies
MIT License
326 stars 147 forks source link

Create Decrypt data using expressions.policy.xml #103

Closed falrnacn closed 1 year ago

falrnacn commented 1 year ago

This policy snippet shows how to decrypt an AES 192 bit encrypted text and return it to caller. The encrypted text is sent as a JSON element.

falrnacn commented 1 year ago

@microsoft-github-policy-service agree

adrianhall commented 1 year ago

Please rename file to "Decrypt AES Data using policy expressions.xml" - I'd also suggest wrapping this in a more full featured example - for example, decrypting an encrypted cookie or similar.

adrianhall commented 1 year ago

Closes #37

falrnacn commented 1 year ago

Hi @adrianhall I have renamed the file as suggested.

falrnacn commented 1 year ago

@adrianhall I see that post your approval, Merging is still blocked. "Merging is blocked Merging can be performed automatically with 1 approving review." Can you please let me know when it will be merged and do i need to do anything else?

adrianhall commented 1 year ago

I am no longer a member of the right team. Cc: @mikebudzynski for completion.

mikebudzynski commented 1 year ago

Thanks for the contribution, @falrnacn!