]> apps.delaporte.us Git - dotfiles.git/blobdiff - Microsoft.PowerShell_profile.ps1
Added setup for running a local copy of Consul and Vault
[dotfiles.git] / Microsoft.PowerShell_profile.ps1
index a517edbd88fcd4e69a4473be63ef95b0632a5847..1a4cdb218df81b0d6cb4cd3c72cb040911243e85 100644 (file)
@@ -9,3 +9,8 @@ $ENV:PATH+=";C:\Program Files\Git\cmd" # Version control is nice.
 $ENV:PATH+=";C:\ProgramData\chocolatey\bin" # Package management is nice.
 $ENV:PATH+=";C:\Program Files\nodejs" # KataKoda wants to add tools via npm
 $ENV:PATH+=";C:\PENGUIN" # Flag to ensure my profile kicked in.
 $ENV:PATH+=";C:\ProgramData\chocolatey\bin" # Package management is nice.
 $ENV:PATH+=";C:\Program Files\nodejs" # KataKoda wants to add tools via npm
 $ENV:PATH+=";C:\PENGUIN" # Flag to ensure my profile kicked in.
+
+function Launch-Vault() {
+  consul agent -dev # Run in Dev Mode
+  vault sever -config c:\src\dotfiles\vaultconfig.hcl # Use local dev Consul as storage
+}
\ No newline at end of file