Website Development Company in Singapore
⟵ Resources

Sitefinity Cloud Consuming Secret Key From Azure KeyVault

cloud hosting

The Steps

  1. Login to the Azure DevOps – Overview – Summary
  2. Hit the “Secret & Certificates” button

blob storage and key vault screenshot

 

  1. There are 3 types of objects we can create, Keys, Secrets and Certificates

sfcloud screenshot

  1. For my case, I choose Secrets and select Generate/Import a new secret.

create a secret steps screenshot

  1. There are 2 options to consume the secret key

Option 1: Access it via code, sample code can be found in the keyvault dashboard (in step 3)

Option 2: Using it in the AppSettings, hence the application can pick it up when the CICD run

Example: options to consume secret key

 

This post originally appeared on hawjeh blog.

SFv15.3 AI Content Optimization & Translation

Sitefinity CMS Case Study: Websparks Powers AmBank’s Website Modernisation

Transcribing Documents into Editable HTML in Sitefinity

Portfolios

Resources

Contact Us

Website Development Company in Singapore white logo
LowCarbonSG Logo

Terms & Conditions | Data Protection Notice | Accessibility Statement

Apply Now!

Upload Resume (with a 2mb maximum file size)
Accepted file types: doc, docx, pdf, xps, Max. file size: 2 MB.
This field is for validation purposes and should be left unchanged.