Version 1.0.0
Language EN

Vault Example

Example Yaml configuration for a project with a Vault server dependency. The database server will be available at vault:8200.

kind: pipeline
step: default

steps:
- name: test
  image: vault:1.0.0-beta2
  environment:
    VAULT_ADDR: http://vault:8200
    VAULT_TOKEN: dummy
  commands:
  - sleep 5
  - vault kv put secret/my-secret my-value=s3cr3t
  - vault kv get secret/my-secret

services:
- name: vault
  image: vault:1.0.0-beta2
  environment:
    VAULT_DEV_ROOT_TOKEN_ID: dummy
  ports:
  - 8200

Getting Help

Mailing List
Search for information in the mailing list archives, or post a question.
Chat Support
Real-time chat support from maintainers and community members.