microsoft/azure-pipelines-vscode

AzureKeyVault task not passing schema validation

MattMencel opened this issue · 1 comments

Schema validation errors were encountered.
tasks/azdo-pat.yaml::task: 'AzureKeyVault@1' does not match '^PowerShell@2$'

parameters:
  KEY_VAULT_NAME: ""
  SERVICE_CONNECTION: ""

steps:
  - task: AzureKeyVault@1
    inputs:
      azureSubscription: ${{ parameters.SERVICE_CONNECTION }}
      keyVaultName: ${{ parameters.KEY_VAULT_NAME }}
      secretsFilter: "azdo-pat-token"
    displayName: "Get AZDO PAT"

I'm using the latest schema file, 1.191.0.

Tried with both tasks @1 and @2.

Known issue with the schema; this is being tracked at #410. Thanks for reporting, though!