Example implementation (supports runner and vault tasks)

// Either use a local vault filled by the 'FAKE_VAULT_VARIABLES' environment variable// or fall back to the build process if none is givenletvault=matchVault.fromFakeEnvironmentOrNone()with|Somev->v// fake 5 vault task, uses 'FAKE_VAULT_VARIABLES' by default|None->TeamFoundation.variables// fake 5 runner task// Only needed if you want to fallback to 'normal' environment variables (locally for example)letgetVarOrDefaultname=matchvault.TryGetnamewith|Somev->v|None->Environment.environVarOrFailnameTarget.create"Deploy"(fun_->lettoken=getVarOrDefault"github_token"// Use token to deploy to githubletapiKey=getVarOrDefault"nugetkey"// Use apiKey to deploy to nuget())