Azure / Azure/api-management-policy-snippets

X509Certificate2 on consumption tier

Open
#65 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
399
Forks
170
PR merge metrics
No merged PRs in 30d

Description

When loading a certificate in an expression, the following works in developer+ tiers, however not on Consumption tier.

X509Certificate2 certificate = new X509Certificate2(Convert.FromBase64String((string)context.Variables["keyVaultCertBase64"]), (string)null);

Haven't been able to find in the docs. Am I missing something? Any suggestions greatly appreciated'

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by investigating whether X509Certificate2 construction from a Base64 value is supported in Azure API Management policy expressions on the Consumption tier. Compare the reported behavior with the developer and higher tiers and check the relevant APIM documentation; the issue does not name repository files or tests, and done would require a confirmed explanation or documented resolution.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure
Domain
api, cloud
Issue type
Bug
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
15/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.