Skip to content

Instantly share code, notes, and snippets.

@GrillPhil
Created July 24, 2023 12:08
Show Gist options
  • Save GrillPhil/e5978e55f5218d39a3d28354e097880d to your computer and use it in GitHub Desktop.
Save GrillPhil/e5978e55f5218d39a3d28354e097880d to your computer and use it in GitHub Desktop.
param keyVaultName string
param name string
@secure()
param value string
resource keyVault 'Microsoft.KeyVault/vaults@2022-07-01' existing = {
name: keyVaultName
resource storageSecret 'secrets' = {
name: name
properties: {
value: value
}
}
}
output storageSecretUri string = keyVault::storageSecret.properties.secretUri
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment