Vault: Difference between revisions

From Chorke Wiki
Jump to navigation Jump to search
Created page with "{|class='wikitable' |valign='top' style='width:50%'| <syntaxhighlight lang='bash'> curl -fsSL https://apt.releases.hashicorp.com/gpg\ | sudo tee /etc/apt/keyrings/hashicorp.asc >/dev/null DISTRIBUTION=$(. /etc/os-release && echo "${VERSION_CODENAME}") cat << SRC | sudo tee /etc/apt/sources.list.d/hashicorp.list >/dev/null deb [arch=$(dpkg --print-architecture)\ signed-by=/etc/apt/keyrings/hashicorp.asc]\ https://apt.releases.hashicorp.com ${DISTRIBUTION} main SRC </s..."
 
No edit summary
Line 39: Line 39:
vault login
vault login
</syntaxhighlight>
</syntaxhighlight>
|}
==References==
{|class='wikitable mw-collapsible'
!scope='col' style='text-align:left' colspan='3'|
References
|-
|valign='top' style='width:33%'|
* [https://developer.hashicorp.com/vault/tutorials/secrets-management Vault » Docs » Secrets management]
* [https://developer.hashicorp.com/vault/tutorials/pki/pki-engine Vault » Docs » Build your CA]
* [https://developer.hashicorp.com/vault/tutorials/monitoring Vault » Docs » Monitoring]
* [https://developer.hashicorp.com/vault/tutorials/get-started/learn-ui Vault » Docs » How]
* [https://developer.hashicorp.com/vault/tutorials/get-started/why-use-vault Vault » Docs » Why]
* [https://developer.hashicorp.com/vault/install Vault » Install]
* [[Helm/Vault|Vault » Helm]]
|valign='top' style='width:34%'|
|valign='top' style='width:33%'|
|-
|valign='top'|
* [https://kubernetes.io/docs/reference/kubectl/generated/kubectl_rollout/ K8s » <code>kubectl rollout</code>]
* [[K8s/CSI Hostpath Driver|K8s » CSI Hostpath Driver]]
* [[Security/Password|Security » Password]]
* [[K8s/Storage|K8s » Storage]]
* [[K8s/Ingress|K8s » Ingress]]
* [[K8s/Service|K8s » Service]]
* [[K8s/Run|K8s » Run]]
* [[MinIO]]
* [[CIDR]]
* [[UFW]]
|valign='top'|
* [[Apache Basic Authentication|Security » HTTP » Basic Authentication]]
* [[OpenLDAP/BackSQL|Security » OpenLDAP » BackSQL]]
* [https://github.com/khorben/makepasswd Security » <code>makepasswd</code> » SCM]
* [https://manpages.ubuntu.com/manpages/trusty/man1/makepasswd.1.html Security » <code>makepasswd</code>]
* [[Security/Certificate|Security » Certificate]]
* [[ZA Proxy|Security » ZA Proxy]]
* [[Security/Domain|Security » Domain]]
* [[Spring Security|Security » Spring]]
* [[HTTP Security|Security » HTTP]]
* [[Java/Security|Security » Java]]
|valign='top'|
* [[SSH/Public Key Authentication|Security » SSH » Public Key Authentication]]
* [[Security/Container/Snyk|Security » Container » Snyk]]
* [[Security/Container/Trivy|Security » Container » Trivy]]
* [[Security/Certificate/TLS|Security » Certificate » TLS]]
* [https://askubuntu.com/questions/700712/how-to-install-wireshark Security » Wireshark]
* [[Security/Password|Security » Password]]
* [[Jasypt|Security » Jasypt]]
|-
|valign='top'|
* [[Kubernetes]]
* [[Multipass]]
* [[Minikube]]
* [[Podman]]
* [[Vagrant]]
* [[Docker]]
* [[Qemu]]
* [[Helm]]
* [[K9s]]
* [[K8s]]
|valign='top'|
* [[Terraform]]
* [[Proxmox]]
* [[Kubectl]]
* [[Ansible]]
* [[Linux Containers|LXC]]
* [[Git]]
|valign='top'|
|}
|}

Revision as of 07:52, 20 January 2026

curl -fsSL https://apt.releases.hashicorp.com/gpg\
 | sudo tee /etc/apt/keyrings/hashicorp.asc >/dev/null

DISTRIBUTION=$(. /etc/os-release && echo "${VERSION_CODENAME}")
cat << SRC | sudo tee /etc/apt/sources.list.d/hashicorp.list >/dev/null
deb [arch=$(dpkg --print-architecture)\
 signed-by=/etc/apt/keyrings/hashicorp.asc]\
 https://apt.releases.hashicorp.com ${DISTRIBUTION} main
SRC
cat <<'EXE' | sudo bash
apt-get update && apt-get install -y vault
systemctl disable --now vault.service
systemctl stop          vault.service
systemctl mask          vault.service
systemctl status        vault.service
vault version
which vault
EXE
export VAULT_TOKEN='hvs.b613hrNQ25fJEkWqGB2KCWgl'
export VAULT_ADDR='https://vault.shahed.biz.ops'
vault status
export VAULT_SKIP_VERIFY=true
export VAULT_FORMAT=yaml
vault login

References

References