Azure: manually add app service certificate to key vault











up vote
2
down vote

favorite












Azure has a simple way of adding an App Service Certificate to a Key Vault from the web interface. I did this and later I accidentally deleted the certificate from the Key Vault. The App Service Certificate resource is still there, but the certificate no longer shows up in my Key Vault (obviously).



Is there a way that I can re-add my App Service Certificate to my Key Vault?



Attached images:



The App Service Certificate still thinks it's been added to Key Vault:



the app service cert says it's in key vault



... but the cert is no longer available in the Key Vault:



cert doesn't show up










share|improve this question






















  • If you have the right permissions under 'Access policies', you should be able to import one with the 'Generate/Import' button, right?
    – rickvdbosch
    Nov 8 at 7:58












  • from code inside your app you can access the cert object and reexport it ?
    – Thomas
    Nov 8 at 8:02






  • 1




    App Service Certificate stores the private certificate into a user-provided Key Vault secret. When App Service Certificate is deployed into a web app, a Web Apps resource provider deploys it from the Key Vault secret that's associated with App Service Certificate. So, when you add app service certificate to azure keyvault, you could not see anything in Certificate option. Refer to this article.
    – Joey Cai
    Nov 8 at 9:52












  • I see, so the cert I deleted must've been another one. Okay thanks @JoeyCai
    – Kris
    Nov 8 at 9:57












  • I will update it as a reply. If it helps you, you could mark it as answer to let others know.
    – Joey Cai
    Nov 8 at 9:57

















up vote
2
down vote

favorite












Azure has a simple way of adding an App Service Certificate to a Key Vault from the web interface. I did this and later I accidentally deleted the certificate from the Key Vault. The App Service Certificate resource is still there, but the certificate no longer shows up in my Key Vault (obviously).



Is there a way that I can re-add my App Service Certificate to my Key Vault?



Attached images:



The App Service Certificate still thinks it's been added to Key Vault:



the app service cert says it's in key vault



... but the cert is no longer available in the Key Vault:



cert doesn't show up










share|improve this question






















  • If you have the right permissions under 'Access policies', you should be able to import one with the 'Generate/Import' button, right?
    – rickvdbosch
    Nov 8 at 7:58












  • from code inside your app you can access the cert object and reexport it ?
    – Thomas
    Nov 8 at 8:02






  • 1




    App Service Certificate stores the private certificate into a user-provided Key Vault secret. When App Service Certificate is deployed into a web app, a Web Apps resource provider deploys it from the Key Vault secret that's associated with App Service Certificate. So, when you add app service certificate to azure keyvault, you could not see anything in Certificate option. Refer to this article.
    – Joey Cai
    Nov 8 at 9:52












  • I see, so the cert I deleted must've been another one. Okay thanks @JoeyCai
    – Kris
    Nov 8 at 9:57












  • I will update it as a reply. If it helps you, you could mark it as answer to let others know.
    – Joey Cai
    Nov 8 at 9:57















up vote
2
down vote

favorite









up vote
2
down vote

favorite











Azure has a simple way of adding an App Service Certificate to a Key Vault from the web interface. I did this and later I accidentally deleted the certificate from the Key Vault. The App Service Certificate resource is still there, but the certificate no longer shows up in my Key Vault (obviously).



Is there a way that I can re-add my App Service Certificate to my Key Vault?



Attached images:



The App Service Certificate still thinks it's been added to Key Vault:



the app service cert says it's in key vault



... but the cert is no longer available in the Key Vault:



cert doesn't show up










share|improve this question













Azure has a simple way of adding an App Service Certificate to a Key Vault from the web interface. I did this and later I accidentally deleted the certificate from the Key Vault. The App Service Certificate resource is still there, but the certificate no longer shows up in my Key Vault (obviously).



Is there a way that I can re-add my App Service Certificate to my Key Vault?



Attached images:



The App Service Certificate still thinks it's been added to Key Vault:



the app service cert says it's in key vault



... but the cert is no longer available in the Key Vault:



cert doesn't show up







azure ssl-certificate azure-keyvault azure-app-service-envrmnt






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Nov 8 at 6:56









Kris

5,32311219




5,32311219












  • If you have the right permissions under 'Access policies', you should be able to import one with the 'Generate/Import' button, right?
    – rickvdbosch
    Nov 8 at 7:58












  • from code inside your app you can access the cert object and reexport it ?
    – Thomas
    Nov 8 at 8:02






  • 1




    App Service Certificate stores the private certificate into a user-provided Key Vault secret. When App Service Certificate is deployed into a web app, a Web Apps resource provider deploys it from the Key Vault secret that's associated with App Service Certificate. So, when you add app service certificate to azure keyvault, you could not see anything in Certificate option. Refer to this article.
    – Joey Cai
    Nov 8 at 9:52












  • I see, so the cert I deleted must've been another one. Okay thanks @JoeyCai
    – Kris
    Nov 8 at 9:57












  • I will update it as a reply. If it helps you, you could mark it as answer to let others know.
    – Joey Cai
    Nov 8 at 9:57




















  • If you have the right permissions under 'Access policies', you should be able to import one with the 'Generate/Import' button, right?
    – rickvdbosch
    Nov 8 at 7:58












  • from code inside your app you can access the cert object and reexport it ?
    – Thomas
    Nov 8 at 8:02






  • 1




    App Service Certificate stores the private certificate into a user-provided Key Vault secret. When App Service Certificate is deployed into a web app, a Web Apps resource provider deploys it from the Key Vault secret that's associated with App Service Certificate. So, when you add app service certificate to azure keyvault, you could not see anything in Certificate option. Refer to this article.
    – Joey Cai
    Nov 8 at 9:52












  • I see, so the cert I deleted must've been another one. Okay thanks @JoeyCai
    – Kris
    Nov 8 at 9:57












  • I will update it as a reply. If it helps you, you could mark it as answer to let others know.
    – Joey Cai
    Nov 8 at 9:57


















If you have the right permissions under 'Access policies', you should be able to import one with the 'Generate/Import' button, right?
– rickvdbosch
Nov 8 at 7:58






If you have the right permissions under 'Access policies', you should be able to import one with the 'Generate/Import' button, right?
– rickvdbosch
Nov 8 at 7:58














from code inside your app you can access the cert object and reexport it ?
– Thomas
Nov 8 at 8:02




from code inside your app you can access the cert object and reexport it ?
– Thomas
Nov 8 at 8:02




1




1




App Service Certificate stores the private certificate into a user-provided Key Vault secret. When App Service Certificate is deployed into a web app, a Web Apps resource provider deploys it from the Key Vault secret that's associated with App Service Certificate. So, when you add app service certificate to azure keyvault, you could not see anything in Certificate option. Refer to this article.
– Joey Cai
Nov 8 at 9:52






App Service Certificate stores the private certificate into a user-provided Key Vault secret. When App Service Certificate is deployed into a web app, a Web Apps resource provider deploys it from the Key Vault secret that's associated with App Service Certificate. So, when you add app service certificate to azure keyvault, you could not see anything in Certificate option. Refer to this article.
– Joey Cai
Nov 8 at 9:52














I see, so the cert I deleted must've been another one. Okay thanks @JoeyCai
– Kris
Nov 8 at 9:57






I see, so the cert I deleted must've been another one. Okay thanks @JoeyCai
– Kris
Nov 8 at 9:57














I will update it as a reply. If it helps you, you could mark it as answer to let others know.
– Joey Cai
Nov 8 at 9:57






I will update it as a reply. If it helps you, you could mark it as answer to let others know.
– Joey Cai
Nov 8 at 9:57














1 Answer
1






active

oldest

votes

















up vote
2
down vote



accepted










App Service Certificate stores the private certificate into a user-provided Key Vault secret. When App Service Certificate is deployed into a web app, a Web Apps resource provider deploys it from the Key Vault secret that's associated with App Service Certificate.



So, when you add app service certificate to azure keyvault, you could not see anything in Certificate option.



For more details, you could refer to this article.






share|improve this answer





















  • Thanks for that!
    – Kris
    Nov 8 at 10:07











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',
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
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53202773%2fazure-manually-add-app-service-certificate-to-key-vault%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








up vote
2
down vote



accepted










App Service Certificate stores the private certificate into a user-provided Key Vault secret. When App Service Certificate is deployed into a web app, a Web Apps resource provider deploys it from the Key Vault secret that's associated with App Service Certificate.



So, when you add app service certificate to azure keyvault, you could not see anything in Certificate option.



For more details, you could refer to this article.






share|improve this answer





















  • Thanks for that!
    – Kris
    Nov 8 at 10:07















up vote
2
down vote



accepted










App Service Certificate stores the private certificate into a user-provided Key Vault secret. When App Service Certificate is deployed into a web app, a Web Apps resource provider deploys it from the Key Vault secret that's associated with App Service Certificate.



So, when you add app service certificate to azure keyvault, you could not see anything in Certificate option.



For more details, you could refer to this article.






share|improve this answer





















  • Thanks for that!
    – Kris
    Nov 8 at 10:07













up vote
2
down vote



accepted







up vote
2
down vote



accepted






App Service Certificate stores the private certificate into a user-provided Key Vault secret. When App Service Certificate is deployed into a web app, a Web Apps resource provider deploys it from the Key Vault secret that's associated with App Service Certificate.



So, when you add app service certificate to azure keyvault, you could not see anything in Certificate option.



For more details, you could refer to this article.






share|improve this answer












App Service Certificate stores the private certificate into a user-provided Key Vault secret. When App Service Certificate is deployed into a web app, a Web Apps resource provider deploys it from the Key Vault secret that's associated with App Service Certificate.



So, when you add app service certificate to azure keyvault, you could not see anything in Certificate option.



For more details, you could refer to this article.







share|improve this answer












share|improve this answer



share|improve this answer










answered Nov 8 at 9:58









Joey Cai

4,065129




4,065129












  • Thanks for that!
    – Kris
    Nov 8 at 10:07


















  • Thanks for that!
    – Kris
    Nov 8 at 10:07
















Thanks for that!
– Kris
Nov 8 at 10:07




Thanks for that!
– Kris
Nov 8 at 10:07


















draft saved

draft discarded




















































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.





Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


Please pay close attention to the following guidance:


  • 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.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53202773%2fazure-manually-add-app-service-certificate-to-key-vault%23new-answer', 'question_page');
}
);

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







這個網誌中的熱門文章

Xamarin.form Move up view when keyboard appear

Post-Redirect-Get with Spring WebFlux and Thymeleaf

Anylogic : not able to use stopDelay()