Is there a way to have App Services settings use Key Vault secrets?2019 Community Moderator ElectionAccess Azure Key Vault stored secret using application not deployed in AzureCannot set secret value in Azure Key VaultSetting keys in Azure Key Vault without PowerShellKey Vault secrets during Kudu deployments for a node.js app in Azure App ServiceKey Vault Keys vs SecretsTerraform with Azure Key Vault to get secret valueHow to update Key Vault secret value without changing secret identifier?how to assign key vault secrets only to that particular web app?How to check if secret is in Azure Key VaultKey Vault Settings in Azure App Settings with no code
10 year ban after applying for a UK student visa
Determine voltage drop over 10G resistors with cheap multimeter
Are hand made posters acceptable in Academia?
Imaginary part of expression too difficult to calculate
How much propellant is used up until liftoff?
Homology of the fiber
Exit shell with shortcut (not typing exit) that closes session properly
How to remove space in section title at KOMA-Script
Have the tides ever turned twice on any open problem?
How old is Nick Fury?
How can an organ that provides biological immortality be unable to regenerate?
Why doesn't the fusion process of the sun speed up?
If I cast the Enlarge/Reduce spell on an arrow, what weapon could it count as?
What is it called when someone votes for an option that's not their first choice?
Why is participating in the European Parliamentary elections used as a threat?
Asserting that Atheism and Theism are both faith based positions
Why do I have a large white artefact on the rendered image?
Hackerrank All Women's Codesprint 2019: Name the Product
Have any astronauts/cosmonauts died in space?
What is the reasoning behind standardization (dividing by standard deviation)?
Why didn’t Eve recognize the little cockroach as a living organism?
What kind of footwear is suitable for walking in micro gravity environment?
When did hardware antialiasing start being available?
Why is this tree refusing to shed its dead leaves?
Is there a way to have App Services settings use Key Vault secrets?
2019 Community Moderator ElectionAccess Azure Key Vault stored secret using application not deployed in AzureCannot set secret value in Azure Key VaultSetting keys in Azure Key Vault without PowerShellKey Vault secrets during Kudu deployments for a node.js app in Azure App ServiceKey Vault Keys vs SecretsTerraform with Azure Key Vault to get secret valueHow to update Key Vault secret value without changing secret identifier?how to assign key vault secrets only to that particular web app?How to check if secret is in Azure Key VaultKey Vault Settings in Azure App Settings with no code
So we have started to use Azure Key Vault for our secrets, but looks like applications running as Azure App Services have to have application setting values hardcoded in the portal. Is there a way to have the application settings in App Services pull from Key Vault?
add a comment |
So we have started to use Azure Key Vault for our secrets, but looks like applications running as Azure App Services have to have application setting values hardcoded in the portal. Is there a way to have the application settings in App Services pull from Key Vault?
add a comment |
So we have started to use Azure Key Vault for our secrets, but looks like applications running as Azure App Services have to have application setting values hardcoded in the portal. Is there a way to have the application settings in App Services pull from Key Vault?
So we have started to use Azure Key Vault for our secrets, but looks like applications running as Azure App Services have to have application setting values hardcoded in the portal. Is there a way to have the application settings in App Services pull from Key Vault?
asked Mar 6 at 23:15
Stefan ZvonarStefan Zvonar
8761123
8761123
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
Yes you can. By saving app settings value as azure keyvault reference .
@Microsoft.KeyVault(SecretUri=https://myvault.vault.azure.net/secrets/mysecret/ec96f02080254f109c51a1f14cdb1931)
Please note that your app should have access you can setup using Managed Service Identity (MSI)
Other option is when you use .net is that you can use extension to read settings
Cool, will give that a try
– Stefan Zvonar
Mar 7 at 2:13
add a comment |
Your Answer
StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55033698%2fis-there-a-way-to-have-app-services-settings-use-key-vault-secrets%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
Yes you can. By saving app settings value as azure keyvault reference .
@Microsoft.KeyVault(SecretUri=https://myvault.vault.azure.net/secrets/mysecret/ec96f02080254f109c51a1f14cdb1931)
Please note that your app should have access you can setup using Managed Service Identity (MSI)
Other option is when you use .net is that you can use extension to read settings
Cool, will give that a try
– Stefan Zvonar
Mar 7 at 2:13
add a comment |
Yes you can. By saving app settings value as azure keyvault reference .
@Microsoft.KeyVault(SecretUri=https://myvault.vault.azure.net/secrets/mysecret/ec96f02080254f109c51a1f14cdb1931)
Please note that your app should have access you can setup using Managed Service Identity (MSI)
Other option is when you use .net is that you can use extension to read settings
Cool, will give that a try
– Stefan Zvonar
Mar 7 at 2:13
add a comment |
Yes you can. By saving app settings value as azure keyvault reference .
@Microsoft.KeyVault(SecretUri=https://myvault.vault.azure.net/secrets/mysecret/ec96f02080254f109c51a1f14cdb1931)
Please note that your app should have access you can setup using Managed Service Identity (MSI)
Other option is when you use .net is that you can use extension to read settings
Yes you can. By saving app settings value as azure keyvault reference .
@Microsoft.KeyVault(SecretUri=https://myvault.vault.azure.net/secrets/mysecret/ec96f02080254f109c51a1f14cdb1931)
Please note that your app should have access you can setup using Managed Service Identity (MSI)
Other option is when you use .net is that you can use extension to read settings
answered Mar 6 at 23:20
Volodymyr BilyachatVolodymyr Bilyachat
9,52422951
9,52422951
Cool, will give that a try
– Stefan Zvonar
Mar 7 at 2:13
add a comment |
Cool, will give that a try
– Stefan Zvonar
Mar 7 at 2:13
Cool, will give that a try
– Stefan Zvonar
Mar 7 at 2:13
Cool, will give that a try
– Stefan Zvonar
Mar 7 at 2:13
add a comment |
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55033698%2fis-there-a-way-to-have-app-services-settings-use-key-vault-secrets%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown