This article introduces a simple way of working with Hashicorp Vault key-value secrets engine.
You should have a running Hashicorp/Vault service and Vault command available.
Here is a quick way to install a Vault dev server.
| 🔫 Counter-Strike 2 🕘 3503 hrs 22 mins |
This article introduces a simple way of working with Hashicorp Vault key-value secrets engine.
You should have a running Hashicorp/Vault service and Vault command available.
Here is a quick way to install a Vault dev server.
| package main | |
| import ( | |
| "context" | |
| "encoding/json" | |
| "fmt" | |
| "log" | |
| "os" | |
| "strings" |
| $Principal = New-Object Security.Principal.WindowsPrincipal([Security.Principal.WindowsIdentity]::GetCurrent()) | |
| # Add log color command to clipboard | |
| Set-Clipboard -Value "log_color General FFD700FF; cl_showpos 1" | |
| # Start CSGO | |
| (New-Object -Com Shell.Application).Open("steam://rungameid/730") | |
| Start-Sleep 10 |
| help-k8s-decrypt-secret() { | |
| echo "" | |
| echo "Usage" | |
| echo " k8s-decrypt-secret [options] <secret> <namespace>" | |
| echo "" | |
| echo "Options:" | |
| echo " <secret> kubernetes secret" | |
| echo " <namespace> kubernetes namespace" | |
| echo " -v verbose output (show kubectl command)" | |
| echo " -h show this help" |
| #!/bin/bash | |
| #US=$(setxkbmap -layout us -variant intl) | |
| #BR=$(setxkbmap -model abnt2 -layout br -variant abnt2) | |
| PS3="Choose your keyboard layout: " | |
| options=("US-INTL" "BR-ABNT2" "Quit") | |
| select opt in "${options[@]}" | |
| do | |
| case $opt in |
| Go 1 hr 2 mins ██████████░░░░░░░░░░░ 47.8% | |
| YAML 1 hr █████████▊░░░░░░░░░░░ 46.7% | |
| Markdown 6 mins █░░░░░░░░░░░░░░░░░░░░ 4.8% | |
| Other 0 secs ▏░░░░░░░░░░░░░░░░░░░░ 0.7% |
Download the latest version from SourceForge.
After installing it, open XLaunch. It will start the first time configuration wizard and will generate a config file by the end.
| Arctic Monkeys ████████▎░░░░░░░░ 73 plays | |
| Foster the People █▌░░░░░░░░░░░░░░░ 14 plays | |
| All Time Low █▎░░░░░░░░░░░░░░░ 12 plays | |
| Twenty One Pilots █▎░░░░░░░░░░░░░░░ 12 plays | |
| Shakira █░░░░░░░░░░░░░░░░ 9 plays | |
| The Lonely Island ▉░░░░░░░░░░░░░░░░ 8 plays | |
| CHVRCHES ▋░░░░░░░░░░░░░░░░ 6 plays | |
| The Beatles ▋░░░░░░░░░░░░░░░░ 6 plays | |
| George Ezra ▌░░░░░░░░░░░░░░░░ 5 plays | |
| Of Monsters and Men ▌░░░░░░░░░░░░░░░░ 5 plays |
| # HashiCorp Learn | |
| https://learn.hashicorp.com/ | |
| # |