Skip to content

Config-Validator is a DevOps tool helping to validate configuration using automated pipelines and CLI.

License

Notifications You must be signed in to change notification settings

HubiBoar/config-validator

Repository files navigation

Config-Validator

NuGet Version NuGet Downloads

Config-Validator is a DevOps tool helping to validate configuration using automated pipelines and CLI.
Configuration validation is setup using YAML with Validation Methods taken from Definit.Validation package.
For now it supports Azure KeyVault and Azure AppConfiguration out of the box.

GlobalTest.Value1:SharedSecret: IsConnectionString
GlobalTest.Value2: IsUrl
GlobalTest.Value3: IsUrl

Then it can be run in for example Azure Pipeline.

pool:
  vmImage: ubuntu-latest

steps:
- bash: |
    docker pull hubiboar/config-validator:latest
    docker run -v $(Build.SourcesDirectory):/mnt hubiboar/config-validator:latest azure app-configuration-secret --file-path "../mnt/validation.yml" --key-vault-name "$(KV-Name)" --tenant-id $(TenantId) --client-id $(ClientId) --client-secret $(ClientSecret) --secret-name "AppConfigConnectionString"
  displayName: 'Docker Pull and Run'

About

Config-Validator is a DevOps tool helping to validate configuration using automated pipelines and CLI.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published