Automatic Export Secret and Import Certificate from KeyVault

Philipp Gerber 251 Reputation points

Hello Community,

a short Question about a automatic import/export from Azure Certificates.


I use Azure Certificates to build an Wildcard Certificate.

This Certificate will be automatically stored in a KeyVault.

Ok, all fine to this moment.

Now i must go to the KeyVault -> Secrets and export the current Version as a Certificate.
After this i go to Certificates and import the downloaded Certificate from the Step before to the KeyVault.

After this step i can use this Certificate from diffrent locations.

The Question:

Can i do this Steps automatically?
Its really stressful to do this steps all year again.

Thanks a lot.



Azure Key Vault
Azure Key Vault
An Azure service that is used to manage and protect cryptographic keys and other secrets used by cloud apps and services.
1,159 questions
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,219 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Limitless Technology 44,046 Reputation points

    Hello there,

    You can try powershell script and task scheduler to achieve this.

    The Task Scheduler enables you to automatically perform routine tasks on a chosen computer. The Task Scheduler does so by monitoring whatever criteria you choose (referred to as triggers) and then executing the tasks when those criteria are met.

    Hope this resolves your Query !!

    --If the reply is helpful, please Upvote and Accept it as an answer--

    0 comments No comments