https://github.com/ist-dsi/scala-vault
A pure functional Scala client for HashiCorp's Vault implemented using Http4s client.
https://github.com/ist-dsi/scala-vault
hashicorp-vault http4s scala
Last synced: 5 months ago
JSON representation
A pure functional Scala client for HashiCorp's Vault implemented using Http4s client.
- Host: GitHub
- URL: https://github.com/ist-dsi/scala-vault
- Owner: ist-dsi
- License: mit
- Created: 2019-03-26T18:24:28.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2025-12-19T17:41:14.000Z (6 months ago)
- Last Synced: 2025-12-22T04:08:43.633Z (6 months ago)
- Topics: hashicorp-vault, http4s, scala
- Language: Scala
- Homepage:
- Size: 14.2 MB
- Stars: 4
- Watchers: 6
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# scala-vault [](LICENSE)
[](https://ist-dsi.github.io/scala-vault/api/latest/pt/tecnico/dsi/vault/index.html)
[](https://index.scala-lang.org/ist-dsi/scala-vault/scala-vault)
[](https://travis-ci.org/ist-dsi/scala-vault)
[](https://www.codacy.com/app/IST-DSI/scala-vault?utm_source=github.com&utm_medium=referral&utm_content=ist-dsi/scala-vault&utm_campaign=Badge_Grade)
[](https://bettercodehub.com/results/ist-dsi/scala-vault)
The Scala client for HashiCorp's Vault.
Currently supported endpoints:
- Auth Methods:
- AppRole
- Token
- Secret Engines:
- Consul
- Databases
- Elasticsearch
- MongoDB
- MySQL
- Identity
- KeyValue versions 1 and 2
- PKI
- Sys:
- Auth mounts
- Generate Root
- Health
- Init
- Keys (rotate and key status)
- Leader (status and step down)
- Leases
- Mounts
- Plugin Catalog
- Policy
- Rekey
- Seal (status, seal, and unseal)
[Latest scaladoc documentation](https://ist-dsi.github.io/scala-vault/latest/api/pt/tecnico/dsi/scala-vault/index.html)
## Install
Add the following dependency to your `build.sbt`:
```sbt
libraryDependencies += "pt.tecnico.dsi" %% "scala-vault" % "0.0.0"
```
We use [semantic versioning](http://semver.org).
## How to Release
1. Launch the vault docker with the following command `docker run --cap-add IPC_LOCK -d --name=dev-vault -p 8200:8200 vault`.
2. Ensure your PGP key is added to your agent.
3. Create the file `~/.sbt/1.0/credentials.sbt` with:
```
credentials += Credentials(
"Sonatype Nexus Repository Manager",
"oss.sonatype.org",
"",
""
)
```
4. Run `sbt release`
## License
scala-vault is open source and available under the [MIT license](LICENSE).