https://github.com/hypery2k/azure-vault-mock
Mock Azure Key Vault
https://github.com/hypery2k/azure-vault-mock
Last synced: 4 months ago
JSON representation
Mock Azure Key Vault
- Host: GitHub
- URL: https://github.com/hypery2k/azure-vault-mock
- Owner: hypery2k
- License: mit
- Created: 2022-12-07T09:20:14.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-05-30T20:53:15.000Z (about 1 year ago)
- Last Synced: 2025-01-02T05:43:41.332Z (6 months ago)
- Language: Dockerfile
- Size: 3.91 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# azure-vault-mock
Mock Azure Key VaultAdd in your `docker-compose.yaml`:
```
ms-vault-mock --certificate /app/cert.crt --private_key /app/cert.key --vault_dir /app/data --preload /app/conf
```E.g.:
```
services:
azure-vault:
container_name: "azure-vault"
image: hypery2k/azure-vault-mock:latest
entrypoint: ["ms-vault-mock", "--vault_dir", "/app/data", "--preload", "/app/preload.json"]
ports:
- 10000:10000
volumes:
- ./.etc/vault:/app
```Make sure that you have created the directories via:
```
mkdir -p .etc/vault/data
echo "{}" > .etc/vault/preload```