azure-marketplace icon indicating copy to clipboard operation
azure-marketplace copied to clipboard

Add Support for Azure KeyVault stored certificates for SSL/TLS, maybe for sshPublicKey also

Open RomasZekonis opened this issue 4 years ago • 4 comments

RomasZekonis avatar Nov 12 '19 10:11 RomasZekonis

Can you please elaborate on what support for Azure KeyVault means for this issue? For example,

  1. Storing certificates in KeyVault?
  2. Pulling certificates locally when bootstrapping cluster?
  3. Periodically checking KeyVault, and taking some action when certificates have been rotated?

russcam avatar Dec 09 '19 04:12 russcam

Hello

This is not an issue. This is maybe more feature request. Sorry maybe I have posted in wrong place. I think to have a option to bootstrap clusters with TLS certificates stored in keyvault should be useful. And that would open the way more easy rotate certificates in production deployments, or make it auto-rotatable in the case 3)

Thank you

RomasZekonis avatar Dec 09 '19 11:12 RomasZekonis

@RomasZekonis this is the right place to discuss a feature request 🙂 I'm interested in understanding more about how you envision Azure KeyVault would be integrated with the ARM template offering, and the deployed Elastic Stack.

I could see Azure KeyVault being useful for the three points in https://github.com/elastic/azure-marketplace/issues/321#issuecomment-563059732.

As far as I know at the moment though, it's not possible to create a KeyVault and insert a certificate into it within an ARM template. , The certificate might need to either already exist in KeyVault, and a secret passed to the template to retrieve it, or a certificate be supplied to the template, and inserted into KeyVault within the installation scripts. There's some complexity involved in both approaches.

russcam avatar Dec 10 '19 04:12 russcam

Hello

I think the one of the option is to pass Certificates Identifier from existing Certificate in the keyvault. We are using the same way deployment of Service Fabric clusters ARM templates. If we deploy with ARM template "Azure Resource Manager for template deployment" should be enabled Access policy of the keyvault.

RomasZekonis avatar Dec 10 '19 11:12 RomasZekonis