vault

Vault

Hashicorp Vault integration

Install vault

Follow vault docs - https://developer.hashicorp.com/vault/docs/install

Enable KV secrets engine with a root path

The root path should be named kv

vault secrets enable -path=kv kv

Configure SparrowCI services

Adjust SparrowCI ui configuration file:

~/sparkyci.yaml

use_secrets: true

Instruct services with vault configuration data - vault http address and vault API token:

sparman.raku worker stop
sparman.raku ui stop

sparman.raku --env VAULT_TOKEN=$TOKEN,VAULT_ADDR=http://127.0.0.1:8200 worker start
sparman.raku --env VAULT_TOKEN=$TOKEN,VAULT_ADDR=http://127.0.0.1:8200 ui start

That is it. SparrowCI is now integrated with vault.

See also

secrets management

SparrowCI v0.0.11

SparrowCI - super fun and flexible CI system with many programming languages support

Authors

  • Alexey Melezhik

License

Artistic-2.0

Dependencies

YAMLishJSON::Fast:ver<0.17>DBIishDigest::SHA1::Native:ver<0.05+>Cro::HTTP:ver<0.8.9+>Cro::WebApp:ver<0.8.9+>Text::Markdown:ver<1.1.1+>File::Directory::Tree

Test Dependencies

Provides

  • SparrowCI
  • SparrowCI::Conf
  • SparrowCI::DB
  • SparrowCI::HTML
  • SparrowCI::News
  • SparrowCI::Repo
  • SparrowCI::Security
  • SparrowCI::User

The Camelia image is copyright 2009 by Larry Wall. "Raku" is trademark of the Yet Another Society. All rights reserved.