This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cat provider.tf | |
terraform { | |
required_providers { | |
vault = { | |
source = "hashicorp/vault" | |
version = "5.0.0" | |
} | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# CLI output showing how Vault limits the size of the kv store | |
➜ ~ echo '{"data":"'$(head -c 818570 < /dev/urandom | base64 | tr -d '\n')'"}' > big.json 08:38:14 [35/1877] | |
➜ ~ vault kv put -mount=secret bigblob data=@big.json | |
Error writing data to secret/data/bigblob: Error making API request. | |
URL: PUT https://127.0.0.1:8200/v1/secret/data/bigblob | |
Code: 500. Errors: | |
* 1 error occurred: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## Benchmark files to run alongside the Vault transform tutorial: https://developer.hashicorp.com/vault/tutorials/encryption-as-a-service/tokenization?productSlug=vault&tutorialSlug=adp&tutorialSlug=tokenization&variants=vault-deploy%3Aenterprise#setup-external-token-storage | |
## Example runs: | |
## vault-benchmark run -config=internal-tokenization.hcl | |
## 2025-07-15T08:58:32.094-0700 [INFO] vault-benchmark: setting up targets | |
## 2025-07-15T08:58:32.317-0700 [INFO] vault-benchmark: starting benchmarks: duration=1m0s | |
## | |
## 2025-07-15T08:59:32.920-0700 [INFO] vault-benchmark: benchmark complete | |
## Target: https://127.0.0.1:8200 | |
## op count rate throughput mean 95th% 99th% successRatio |