SlideShare a Scribd company logo
1 of 10
Download to read offline
OVERVIEW
These notes follow HashiCorp specific structure found here:
http://www.vaultproject.io/docs/configuration
I have created these notes as part of my personal learning and
hope to be able to help and inspire others.
I would recommend viewing the official vault docs to gain full
and detailed explanations.
I will be releasing interactive notebooks for all configuration
detailed in these guides .
Follow my instagram @adnans_techie_studies for updates
VAULT CONFIGURATION
FORMAT HCL OR JSON
EXAMPLE
RAWSTORAGE ENDPOINT
Allows ENCRYPTION
DEFAULT MAY REQUEST DURATION DECRYPTIONOFRAW
HOWLONGBEFORE DATA INANDOUT
VAULTCANCELS
DEFAULTLEASETTL
JALNA
NfqBzE Request
OFSECURITYBARRIER
DURATIONFORTOKENSSECRETS THAN
r THIS HIGHLYPRIVILEGED
LOGFORMAT
r V
STANDARD JSON MAYLEASE TTL
STORAGE
TTL CONFIGUREWHEREVAULTLOGLEVEL or
TRACEDEBUG Data is STORED
errorwarm
INFO LOG
HA STORAGE
TELEMETRY c PARAMETERS MUSTBEHASUPPORTINGBACKEND
LISTENER
PLUGIN DIRECTORY CLUSTERNAME HOWVAULTLISTENSFORAPI
REQUESTS
CACHE SEAL
DISABLEMLock AUTO UNSEALING AND SEAL
PREVENTSMEMORY WRAPPING
FROMBEINGSWAPPED
TODISK L v EXTRALAYEROF
CACHESIZE
DISABLECACHE ENCRYPTION
READCACHEUSEDBY
PHYSICALSTORAGE
WILLIMPACT
RECOMMENDED PERFORMANCE
IFUSINGINTEGRATED
STORAGE
MLOCK S MEMORY MAPPED FILES LOADED INTO MEMORY
CAUSES VAULT ENTIRE DATASET TO BE LOADED INTO MEMORY
CAUSE 00M ERRORS IFLARGERTHANRAM
VAULT CONFIGURATION
DISABLE CLUSTERING HA PARAMETERS API ADDR
SETTINGTOONENODE FULLURL ToADVERTISETo
WILLONLYDISABLEWHEN OTHERVAULTSERVERS IN
THATNODEISTHEACTIVENODE CLUSTERFORCLIENTREDIRECTION
PLUGIN BACKENDS
CLUSTER ADDR
ADDRESSTOADVERTISE TO
OTHERVAULTSERVERSINTHE
CLUSTERFORREQUESTFORWARDING
SIMILARTOAPIADDRBUT
VAULT IGNORES SCHEME
CLUSTERMEMBERS
ALWAYSUSETLS
LISTENER STANZA
CONFIGURES THE ADDRESSES ANDPORTS ON WHICH VAULT WILL RESPOND
TO REQUESTS TCPONLY
TCP LISTENER sCONFIGURESVAULTTO LISTENONTCPADDRIPORT
SPECIFYMORETHANONCETOMAKEVAULTLISTENON
MULTIPLE INTERFACES
TRUSTEDSOURCEIPS MUSTSPECIFY APIADDRANDCLUSTERADDR
OFADDRESS SKIPPED
AUTHORIZEDAfDRS HOPSKIPS sREJECTNotAUTHORIZED
n
X FORWARDED FOR I REJECTNOTPRESENT
r
ADDRESS
BIND10FORLISTENING
TCPLISTENER CLUSTER ADDRESS
DISABLECLIENTCERTS
PARAMETERS SERVERTOSERVERREQUESTSCLIENTCAFILE r
REQUIREANDVERIFYCLIENTCERI
PREFERSERVER CIPHERSUITES HTTP IDLETIMEOUT
CIPHERSUITES L MAYTIMETOWAIT
TLS FORNEXTREQUEST
DISABLE MAX
INSECURECOMMUNICATION READHEADERTIMEOUT
REQUESTburation REQUESTSIZE TIMEALLOWEDToREAD
CERT FILE KEYFILE DEFAULT 32mB REQUESTHEADERS
0 TURNOFFLIMIT
READWRITETIMEOUT
C
MINVERSION PROXY MAYDURATIONTOREAD
17510,1112,13 REQUEST
ORWRITE
RESPONSE
u
PROTOCOL BEHAVIOUR PROTOCOLAUTHORIZED ADDRS
PROXYv1 LIST of ALLOWEDSOURCEIPADDRESSES
SEAL STANZA
CONFIGURES THE SEAL TYPE TO USE ADDITIONAL DATAPROTECTION
s
HSM CLOUDHSM
OR SHAMIR
ALGORITHM
ENCRYPT
DECRYPT
MASTER
KEY
USE VAULTS TRANSL
COFIGURETOUSEHSM VAULTTRANSIT
SECRET ENGINE AS Tt
9 AUTOSEAL MECHANISM
PKCSIIr
AllCLOUD
OCI KMS s
ORACLE
SEAL AWSKMS SUPPORTS
KEYROTATION OFTHE
MASTERKEY
i
AUTOMATIC MANUAL
GCPCLOUDKMS AZUREKEYVAULT
SUPPORTSKEYROTATION
SUPPORTS KEY ROTATION
KEYMETADATASTORED WITHDATA
VAULTHOSTEDON USECORRECT KEYSCHEDULED MANUAL
AZURE MANAGED
SERVICE 2ACCESS
IDENTITIES VAULT
STORAGE STANZA
CONFIGURES THE STORAGE BACKEND LOCATION FOR VAULTS
INFORMATION
EACH BACKEND HAS DIFFERENT TRADE OFFS BETTER FOR HA
BETTERFOR BACKUP
RESTORE
AWS53 CASSANDRA
GOOGLECLOUDSPANNER POSTGRESQL
ZOOKEEPER MANTAGOOGLECLOUDSTORAGE MYSQL
RAFT FOUNDATIONDB COCKROACHDB SWIFT
OCI OBJECT ETCD COUCHDB 14550,2
HA
SUPPORTED a STORAGE NO HA
SUPPORT
FILESYSTEM IN MEMORY
u d AZUREBLOBS
DYNAMODB CONSUL
USES TIME ONVAULTNODE TO
DURABLESTORAGE
IMPLEMENTTHESESSIONLIFETIMES REGISTERVAULT IN
ON ITSLocks
5CLOCKSKEWAcrossNODES
CONSUL BACKEND
COULDCAUSECONTENTION
FORHEALTHCHECKS
ONLocks
u
customSTORAGE
PATH
UNIX CUSTOMADDRESS CUSTOMTLSSOCKETS
ANDACLTOKEN
SERVICE REGISTRATION STANZA
CONFIGURES VAULT'S MECHANISM FOR SERVICE REGISTRATION
DESIGNED FORUSECASES WHERE USE CONSUL FOR
SERVICEDISCOVERY BUT DIFFERENT STORAGE BACKEND
TELEMETRY STANZA
SPECIFIES VARIOUS CONFIGURATIONS FOR VAULT
TO PUSH METRICS TO UPSTREAM SYSTEMS
STATSITE
METRICAGGREGATIONSERVER
BASEDHEAVILYONETSY'sSTATSD
STACKDRIVER IELEMETRY
GOOGLECLOUD STATSD
ANETWORKDAEMONTHATRUNSONNODE
ANDLISTENS Forstatistics
COUNTERS
Timers
SENDSAGGREGATESToservicesLIKEGRAPHITE
1
L CIRCONUS
PROMETHEUS MACHINEDATAINTELLIGENCEPLATFORM
OPENsourceMONITORING SOLUTION
DOCTSTATSD
DATADOGSERVICEBASEDONSTATSD
VAULT VI
WEB VI TO CREATE READ UPDATEAND DELETE SECRETS
AS WELL AS AUTHENTICATE UNSEALAND MORE
ENTROPY AUGMENTATION
ALLOWS VAULT TO SAMPLE ENTROPY FROM EXTERNAL CRYPTOGRAPHIC MODULES
CONFIGURE A SUPPORTED
SEAL
plus 11
AWSKms
VAULTTRANSIT

More Related Content

What's hot

OpenSSL programming (still somewhat initial version)
OpenSSL programming (still somewhat initial version)OpenSSL programming (still somewhat initial version)
OpenSSL programming (still somewhat initial version)Shteryana Shopova
 
OpenSSL Basic Function Call Flow
OpenSSL Basic Function Call FlowOpenSSL Basic Function Call Flow
OpenSSL Basic Function Call FlowWilliam Lee
 
introduction to jsrsasign
introduction to jsrsasignintroduction to jsrsasign
introduction to jsrsasignKenji Urushima
 
Crypto With OpenSSL
Crypto With OpenSSLCrypto With OpenSSL
Crypto With OpenSSLZhi Guan
 
Год в Github bugbounty, опыт участия
Год в Github bugbounty, опыт участияГод в Github bugbounty, опыт участия
Год в Github bugbounty, опыт участияdefcon_kz
 
Beyond Mirai: The new age of MDDoS attacks
Beyond Mirai: The new age of MDDoS attacksBeyond Mirai: The new age of MDDoS attacks
Beyond Mirai: The new age of MDDoS attacksAPNIC
 
Mise en place d'un client VPN l2tp IPsec sous docker
Mise en place d'un client VPN l2tp IPsec sous dockerMise en place d'un client VPN l2tp IPsec sous docker
Mise en place d'un client VPN l2tp IPsec sous dockerNicolas Trauwaen
 
Control hypervisor via libvirt
Control hypervisor via libvirtControl hypervisor via libvirt
Control hypervisor via libvirtSean Chang
 
Industroyer: biggest threat to industrial control systems since Stuxnet by An...
Industroyer: biggest threat to industrial control systems since Stuxnet by An...Industroyer: biggest threat to industrial control systems since Stuxnet by An...
Industroyer: biggest threat to industrial control systems since Stuxnet by An...CODE BLUE
 
Sử dụng TLS đúng cách - Phạm Tùng Dương
Sử dụng TLS đúng cách - Phạm Tùng DươngSử dụng TLS đúng cách - Phạm Tùng Dương
Sử dụng TLS đúng cách - Phạm Tùng DươngSecurity Bootcamp
 
TLS Interception considered harmful (Chaos Communication Camp 2015)
TLS Interception considered harmful (Chaos Communication Camp 2015)TLS Interception considered harmful (Chaos Communication Camp 2015)
TLS Interception considered harmful (Chaos Communication Camp 2015)hannob
 
Город никогда не спит / The City Never Sleeps
Город никогда не спит / The City Never SleepsГород никогда не спит / The City Never Sleeps
Город никогда не спит / The City Never SleepsPositive Hack Days
 

What's hot (16)

OpenSSL programming (still somewhat initial version)
OpenSSL programming (still somewhat initial version)OpenSSL programming (still somewhat initial version)
OpenSSL programming (still somewhat initial version)
 
OpenSSL Basic Function Call Flow
OpenSSL Basic Function Call FlowOpenSSL Basic Function Call Flow
OpenSSL Basic Function Call Flow
 
introduction to jsrsasign
introduction to jsrsasignintroduction to jsrsasign
introduction to jsrsasign
 
Crypto With OpenSSL
Crypto With OpenSSLCrypto With OpenSSL
Crypto With OpenSSL
 
Год в Github bugbounty, опыт участия
Год в Github bugbounty, опыт участияГод в Github bugbounty, опыт участия
Год в Github bugbounty, опыт участия
 
Beyond Mirai: The new age of MDDoS attacks
Beyond Mirai: The new age of MDDoS attacksBeyond Mirai: The new age of MDDoS attacks
Beyond Mirai: The new age of MDDoS attacks
 
Lock it down
Lock it downLock it down
Lock it down
 
Mise en place d'un client VPN l2tp IPsec sous docker
Mise en place d'un client VPN l2tp IPsec sous dockerMise en place d'un client VPN l2tp IPsec sous docker
Mise en place d'un client VPN l2tp IPsec sous docker
 
mimikatz @ rmll
mimikatz @ rmllmimikatz @ rmll
mimikatz @ rmll
 
Control hypervisor via libvirt
Control hypervisor via libvirtControl hypervisor via libvirt
Control hypervisor via libvirt
 
Industroyer: biggest threat to industrial control systems since Stuxnet by An...
Industroyer: biggest threat to industrial control systems since Stuxnet by An...Industroyer: biggest threat to industrial control systems since Stuxnet by An...
Industroyer: biggest threat to industrial control systems since Stuxnet by An...
 
Sử dụng TLS đúng cách - Phạm Tùng Dương
Sử dụng TLS đúng cách - Phạm Tùng DươngSử dụng TLS đúng cách - Phạm Tùng Dương
Sử dụng TLS đúng cách - Phạm Tùng Dương
 
Security in NodeJS applications
Security in NodeJS applicationsSecurity in NodeJS applications
Security in NodeJS applications
 
TLS Interception considered harmful (Chaos Communication Camp 2015)
TLS Interception considered harmful (Chaos Communication Camp 2015)TLS Interception considered harmful (Chaos Communication Camp 2015)
TLS Interception considered harmful (Chaos Communication Camp 2015)
 
Rust Hack
Rust HackRust Hack
Rust Hack
 
Город никогда не спит / The City Never Sleeps
Город никогда не спит / The City Never SleepsГород никогда не спит / The City Never Sleeps
Город никогда не спит / The City Never Sleeps
 

Similar to Hashicorp Vault Associate Certification Configuration Part 3

Securing Your Containerized Applications with NGINX
Securing Your Containerized Applications with NGINXSecuring Your Containerized Applications with NGINX
Securing Your Containerized Applications with NGINXDocker, Inc.
 
Nginx - The webserver you might actually like
Nginx - The webserver you might actually likeNginx - The webserver you might actually like
Nginx - The webserver you might actually likeEdorian
 
Introduction to Ethereum Blockchain & Smart Contract
Introduction to Ethereum Blockchain & Smart ContractIntroduction to Ethereum Blockchain & Smart Contract
Introduction to Ethereum Blockchain & Smart ContractThanh Nguyen
 
Install ldap server
Install ldap serverInstall ldap server
Install ldap serverMawardi 12
 
Install ldap server
Install ldap serverInstall ldap server
Install ldap serverMawardi 12
 
EAP TLS, the Rolls-Royce of extensible authentication protocol (EAP) methods ...
EAP TLS, the Rolls-Royce of extensible authentication protocol (EAP) methods ...EAP TLS, the Rolls-Royce of extensible authentication protocol (EAP) methods ...
EAP TLS, the Rolls-Royce of extensible authentication protocol (EAP) methods ...Jisc
 
Gluster as Block Store in Containers
Gluster as Block Store in ContainersGluster as Block Store in Containers
Gluster as Block Store in ContainersGluster.org
 
Ethical hacking mind map
Ethical hacking mind mapEthical hacking mind map
Ethical hacking mind mapdasdwwe1
 
HashiCorp Vault configuration as code via HashiCorp Terraform- stories from t...
HashiCorp Vault configuration as code via HashiCorp Terraform- stories from t...HashiCorp Vault configuration as code via HashiCorp Terraform- stories from t...
HashiCorp Vault configuration as code via HashiCorp Terraform- stories from t...Andrey Devyatkin
 
Introduction to JWT and How to integrate with Spring Security
Introduction to JWT and How to integrate with Spring SecurityIntroduction to JWT and How to integrate with Spring Security
Introduction to JWT and How to integrate with Spring SecurityBruno Henrique Rother
 
Hyperledger Fabric Architecture
Hyperledger Fabric ArchitectureHyperledger Fabric Architecture
Hyperledger Fabric Architecture상문 오
 
Globally Distributed RESTful Object Storage
Globally Distributed RESTful Object Storage Globally Distributed RESTful Object Storage
Globally Distributed RESTful Object Storage MongoDB
 
Introduction to Thrift
Introduction to ThriftIntroduction to Thrift
Introduction to ThriftDvir Volk
 
Streams, sockets and filters oh my!
Streams, sockets and filters oh my!Streams, sockets and filters oh my!
Streams, sockets and filters oh my!Elizabeth Smith
 
HTTPs Strict Transport Security
HTTPs    Strict Transport Security HTTPs    Strict Transport Security
HTTPs Strict Transport Security Gol D Roger
 

Similar to Hashicorp Vault Associate Certification Configuration Part 3 (20)

Apache Solr
Apache SolrApache Solr
Apache Solr
 
Computer Security
Computer SecurityComputer Security
Computer Security
 
Securing Your Containerized Applications with NGINX
Securing Your Containerized Applications with NGINXSecuring Your Containerized Applications with NGINX
Securing Your Containerized Applications with NGINX
 
Introducing Vault
Introducing VaultIntroducing Vault
Introducing Vault
 
Nginx - The webserver you might actually like
Nginx - The webserver you might actually likeNginx - The webserver you might actually like
Nginx - The webserver you might actually like
 
Introduction to Ethereum Blockchain & Smart Contract
Introduction to Ethereum Blockchain & Smart ContractIntroduction to Ethereum Blockchain & Smart Contract
Introduction to Ethereum Blockchain & Smart Contract
 
Install ldap server
Install ldap serverInstall ldap server
Install ldap server
 
Install ldap server
Install ldap serverInstall ldap server
Install ldap server
 
HashiCorp's Vault - The Examples
HashiCorp's Vault - The ExamplesHashiCorp's Vault - The Examples
HashiCorp's Vault - The Examples
 
EAP TLS, the Rolls-Royce of extensible authentication protocol (EAP) methods ...
EAP TLS, the Rolls-Royce of extensible authentication protocol (EAP) methods ...EAP TLS, the Rolls-Royce of extensible authentication protocol (EAP) methods ...
EAP TLS, the Rolls-Royce of extensible authentication protocol (EAP) methods ...
 
Gluster as Block Store in Containers
Gluster as Block Store in ContainersGluster as Block Store in Containers
Gluster as Block Store in Containers
 
Ethical hacking mind map
Ethical hacking mind mapEthical hacking mind map
Ethical hacking mind map
 
HashiCorp Vault configuration as code via HashiCorp Terraform- stories from t...
HashiCorp Vault configuration as code via HashiCorp Terraform- stories from t...HashiCorp Vault configuration as code via HashiCorp Terraform- stories from t...
HashiCorp Vault configuration as code via HashiCorp Terraform- stories from t...
 
Introduction to JWT and How to integrate with Spring Security
Introduction to JWT and How to integrate with Spring SecurityIntroduction to JWT and How to integrate with Spring Security
Introduction to JWT and How to integrate with Spring Security
 
Hyperledger Fabric Architecture
Hyperledger Fabric ArchitectureHyperledger Fabric Architecture
Hyperledger Fabric Architecture
 
Globally Distributed RESTful Object Storage
Globally Distributed RESTful Object Storage Globally Distributed RESTful Object Storage
Globally Distributed RESTful Object Storage
 
Solr Presentation
Solr PresentationSolr Presentation
Solr Presentation
 
Introduction to Thrift
Introduction to ThriftIntroduction to Thrift
Introduction to Thrift
 
Streams, sockets and filters oh my!
Streams, sockets and filters oh my!Streams, sockets and filters oh my!
Streams, sockets and filters oh my!
 
HTTPs Strict Transport Security
HTTPs    Strict Transport Security HTTPs    Strict Transport Security
HTTPs Strict Transport Security
 

Recently uploaded

ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProduct Anonymous
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfsudhanshuwaghmare1
 
Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024The Digital Insurer
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...Neo4j
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAndrey Devyatkin
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FMESafe Software
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024SynarionITSolutions
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodJuan lago vázquez
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MIND CTI
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobeapidays
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businesspanagenda
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUK Journal
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsRoshan Dwivedi
 
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...Principled Technologies
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 

Recently uploaded (20)

ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
 
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 

Hashicorp Vault Associate Certification Configuration Part 3

  • 1.
  • 2.
  • 3.
  • 4. OVERVIEW These notes follow HashiCorp specific structure found here: http://www.vaultproject.io/docs/configuration I have created these notes as part of my personal learning and hope to be able to help and inspire others. I would recommend viewing the official vault docs to gain full and detailed explanations. I will be releasing interactive notebooks for all configuration detailed in these guides . Follow my instagram @adnans_techie_studies for updates
  • 5. VAULT CONFIGURATION FORMAT HCL OR JSON EXAMPLE RAWSTORAGE ENDPOINT Allows ENCRYPTION DEFAULT MAY REQUEST DURATION DECRYPTIONOFRAW HOWLONGBEFORE DATA INANDOUT VAULTCANCELS DEFAULTLEASETTL JALNA NfqBzE Request OFSECURITYBARRIER DURATIONFORTOKENSSECRETS THAN r THIS HIGHLYPRIVILEGED LOGFORMAT r V STANDARD JSON MAYLEASE TTL STORAGE TTL CONFIGUREWHEREVAULTLOGLEVEL or TRACEDEBUG Data is STORED errorwarm INFO LOG HA STORAGE TELEMETRY c PARAMETERS MUSTBEHASUPPORTINGBACKEND LISTENER PLUGIN DIRECTORY CLUSTERNAME HOWVAULTLISTENSFORAPI REQUESTS CACHE SEAL DISABLEMLock AUTO UNSEALING AND SEAL PREVENTSMEMORY WRAPPING FROMBEINGSWAPPED TODISK L v EXTRALAYEROF CACHESIZE DISABLECACHE ENCRYPTION READCACHEUSEDBY PHYSICALSTORAGE WILLIMPACT RECOMMENDED PERFORMANCE IFUSINGINTEGRATED STORAGE MLOCK S MEMORY MAPPED FILES LOADED INTO MEMORY CAUSES VAULT ENTIRE DATASET TO BE LOADED INTO MEMORY CAUSE 00M ERRORS IFLARGERTHANRAM
  • 6. VAULT CONFIGURATION DISABLE CLUSTERING HA PARAMETERS API ADDR SETTINGTOONENODE FULLURL ToADVERTISETo WILLONLYDISABLEWHEN OTHERVAULTSERVERS IN THATNODEISTHEACTIVENODE CLUSTERFORCLIENTREDIRECTION PLUGIN BACKENDS CLUSTER ADDR ADDRESSTOADVERTISE TO OTHERVAULTSERVERSINTHE CLUSTERFORREQUESTFORWARDING SIMILARTOAPIADDRBUT VAULT IGNORES SCHEME CLUSTERMEMBERS ALWAYSUSETLS
  • 7. LISTENER STANZA CONFIGURES THE ADDRESSES ANDPORTS ON WHICH VAULT WILL RESPOND TO REQUESTS TCPONLY TCP LISTENER sCONFIGURESVAULTTO LISTENONTCPADDRIPORT SPECIFYMORETHANONCETOMAKEVAULTLISTENON MULTIPLE INTERFACES TRUSTEDSOURCEIPS MUSTSPECIFY APIADDRANDCLUSTERADDR OFADDRESS SKIPPED AUTHORIZEDAfDRS HOPSKIPS sREJECTNotAUTHORIZED n X FORWARDED FOR I REJECTNOTPRESENT r ADDRESS BIND10FORLISTENING TCPLISTENER CLUSTER ADDRESS DISABLECLIENTCERTS PARAMETERS SERVERTOSERVERREQUESTSCLIENTCAFILE r REQUIREANDVERIFYCLIENTCERI PREFERSERVER CIPHERSUITES HTTP IDLETIMEOUT CIPHERSUITES L MAYTIMETOWAIT TLS FORNEXTREQUEST DISABLE MAX INSECURECOMMUNICATION READHEADERTIMEOUT REQUESTburation REQUESTSIZE TIMEALLOWEDToREAD CERT FILE KEYFILE DEFAULT 32mB REQUESTHEADERS 0 TURNOFFLIMIT READWRITETIMEOUT C MINVERSION PROXY MAYDURATIONTOREAD 17510,1112,13 REQUEST ORWRITE RESPONSE u PROTOCOL BEHAVIOUR PROTOCOLAUTHORIZED ADDRS PROXYv1 LIST of ALLOWEDSOURCEIPADDRESSES
  • 8. SEAL STANZA CONFIGURES THE SEAL TYPE TO USE ADDITIONAL DATAPROTECTION s HSM CLOUDHSM OR SHAMIR ALGORITHM ENCRYPT DECRYPT MASTER KEY USE VAULTS TRANSL COFIGURETOUSEHSM VAULTTRANSIT SECRET ENGINE AS Tt 9 AUTOSEAL MECHANISM PKCSIIr AllCLOUD OCI KMS s ORACLE SEAL AWSKMS SUPPORTS KEYROTATION OFTHE MASTERKEY i AUTOMATIC MANUAL GCPCLOUDKMS AZUREKEYVAULT SUPPORTSKEYROTATION SUPPORTS KEY ROTATION KEYMETADATASTORED WITHDATA VAULTHOSTEDON USECORRECT KEYSCHEDULED MANUAL AZURE MANAGED SERVICE 2ACCESS IDENTITIES VAULT
  • 9. STORAGE STANZA CONFIGURES THE STORAGE BACKEND LOCATION FOR VAULTS INFORMATION EACH BACKEND HAS DIFFERENT TRADE OFFS BETTER FOR HA BETTERFOR BACKUP RESTORE AWS53 CASSANDRA GOOGLECLOUDSPANNER POSTGRESQL ZOOKEEPER MANTAGOOGLECLOUDSTORAGE MYSQL RAFT FOUNDATIONDB COCKROACHDB SWIFT OCI OBJECT ETCD COUCHDB 14550,2 HA SUPPORTED a STORAGE NO HA SUPPORT FILESYSTEM IN MEMORY u d AZUREBLOBS DYNAMODB CONSUL USES TIME ONVAULTNODE TO DURABLESTORAGE IMPLEMENTTHESESSIONLIFETIMES REGISTERVAULT IN ON ITSLocks 5CLOCKSKEWAcrossNODES CONSUL BACKEND COULDCAUSECONTENTION FORHEALTHCHECKS ONLocks u customSTORAGE PATH UNIX CUSTOMADDRESS CUSTOMTLSSOCKETS ANDACLTOKEN SERVICE REGISTRATION STANZA CONFIGURES VAULT'S MECHANISM FOR SERVICE REGISTRATION DESIGNED FORUSECASES WHERE USE CONSUL FOR SERVICEDISCOVERY BUT DIFFERENT STORAGE BACKEND
  • 10. TELEMETRY STANZA SPECIFIES VARIOUS CONFIGURATIONS FOR VAULT TO PUSH METRICS TO UPSTREAM SYSTEMS STATSITE METRICAGGREGATIONSERVER BASEDHEAVILYONETSY'sSTATSD STACKDRIVER IELEMETRY GOOGLECLOUD STATSD ANETWORKDAEMONTHATRUNSONNODE ANDLISTENS Forstatistics COUNTERS Timers SENDSAGGREGATESToservicesLIKEGRAPHITE 1 L CIRCONUS PROMETHEUS MACHINEDATAINTELLIGENCEPLATFORM OPENsourceMONITORING SOLUTION DOCTSTATSD DATADOGSERVICEBASEDONSTATSD VAULT VI WEB VI TO CREATE READ UPDATEAND DELETE SECRETS AS WELL AS AUTHENTICATE UNSEALAND MORE ENTROPY AUGMENTATION ALLOWS VAULT TO SAMPLE ENTROPY FROM EXTERNAL CRYPTOGRAPHIC MODULES CONFIGURE A SUPPORTED SEAL plus 11 AWSKms VAULTTRANSIT