Azure-docs: What other dynamic parameters/functions are supported?

Created on 3 Jan 2019  Â·  6Comments  Â·  Source: MicrosoftDocs/azure-docs

Hello, Its nice to see the dynamic expression or keyvault reference, which gets evaluated by the runtime on the fly
@Microsoft.KeyVault(SecretUri=https://myvault.vault.azure.net/secrets/mysecret/ec96f02080254f109c51a1f14cdb1931)

Can you help me understand what other kind of methods/functions I can call on the fly with this feature in app settings?
for example can I use default string functions in .net to additionally do base64 encoding on the secret value taken from keyvault in appsetting value field


Document Details

⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

Pri2 app-servicsvc assigned-to-author doc-enhancement triaged

Most helpful comment

@mattchenderson @Grace-MacJones-MSFT Any update on this? been too much of wait here for me :)

All 6 comments

@mganeshphani Thanks for the feedback! We are currently investigating and will update you shortly.

@mganeshphani you can find some examples of other methods on this blog. I am assigning this issue to the content author so they can update the documentation with more methods/functions that you can call.

I am aware of that blog.. just interested in knowing what other on the fly
functions like these are available

On Tue, Jan 8, 2019 at 4:40 AM Grace-MacJones-MSFT notifications@github.com
wrote:

@mganeshphani https://github.com/mganeshphani you can find some
examples of other methods on this blog
https://azure.microsoft.com/en-us/blog/simplifying-security-for-serverless-and-web-apps-with-azure-functions-and-app-service/.
I am assigning this issue to the content author so they can update the
documentation with more methods/functions that you can call.

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/MicrosoftDocs/azure-docs/issues/21577#issuecomment-452253347,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AV7GIGA59_6zkJMML5tjgQCU6vl2y4P0ks5vBHWUgaJpZM4ZoNVX
.

--
Ganesh Phani Majeti.

@mattchenderson any insights on additional functions?

I've followed steps given above but rather than returning the secret the ConfigurationManager.AppSettings["MySecret"]; is returning the complete string. e.g. @Microsoft.KeyVault(SecretUri=https://demokeyvaultash.vault.azure.net/secrets/APIKey/

@mattchenderson @Grace-MacJones-MSFT Any update on this? been too much of wait here for me :)

Was this page helpful?
0 / 5 - 0 ratings

Related issues

varma31 picture varma31  Â·  3Comments

ianpowell2017 picture ianpowell2017  Â·  3Comments

behnam89 picture behnam89  Â·  3Comments

Ponant picture Ponant  Â·  3Comments

bityob picture bityob  Â·  3Comments