Skip to content

ArmReference/keyvault-vaults

Repository files navigation

Deploy to Azure

Azure template

These templates are not meant for deployment, they simply build reference templates

This template generates a reference for a KeyVault

Parameters

Parameter name Required Description
StorageAccountName Yes The name of the Azure Storage Account where the templates are stored.
ContainerName Yes The Container inside the Storage Account.
SasToken Yes The Shared Access Signature for the Storage Account.

StorageAccountName

Parameter Setting

The name of the Azure Storage Account where the templates are stored.

ContainerName

Parameter Setting

The Container inside the Storage Account.

SasToken

Parameter Setting

The Shared Access Signature for the Storage Account.

Outputs

Name Type Description
armTemplate object Fully populated template

Snippets

Parameter file

{
    "$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentParameters.json#",
    "contentVersion": "1.0.0.0",
    "metadata": {
        "template": "azuredeploy.json"
    },
    "parameters": {
        "StorageAccountName": {
            "value": ""
        },
        "ContainerName": {
            "value": ""
        },
        "SasToken": {
            "value": ""
        }
    }
}

Command line

PowerShell

New-AzResourceGroupDeployment -Name <deployment-name> -ResourceGroupName <resource-group-name> -TemplateFile <path-to-template> -TemplateParameterFile <path-to-templateparameter>

Azure CLI

az group deployment create --name <deployment-name> --resource-group <resource-group-name> --template-file <path-to-template> --parameters @<path-to-templateparameterfile>

About

A collection of flexible ARM templates for building vaults in Azure

Resources

License

Stars

Watchers

Forks

Packages

No packages published