TraGicCode / tragiccode-azure_key_vault

Pull secrets from Azure's key vault with this puppet module.
Apache License 2.0
6 stars 16 forks source link

Document where to find service api versions #1

Closed TraGicCode closed 3 years ago

TraGicCode commented 6 years ago

In order to help prevent confusion with the 2 api versions along with helping the user pick the right one the documentation should be updated to discuss how to get the api versions the azure service support.

az cli

az provider show --namespace Microsoft.KeyVault --query "resourceTypes[?resourceType=='vaults'].apiVersions | [0]" --out table

azure powershell

((Get-AzureRmResourceProvider -ProviderNamespace Microsoft.KeyVault).ResourceTypes | Where-Object ResourceTypeName -eq vaults).ApiVersions

Resources:

https://docs.microsoft.com/en-us/azure/key-vault/key-vault-versions

https://docs.microsoft.com/en-us/azure/virtual-machines/windows/instance-metadata-service#service-availability

https://zimmergren.net/developing-with-azure-resource-manager-part-5-tip-get-the-available-api-version-for-the-arm-endpoints/