HUB
Sign inSign up

projectnebula/vault

By projectnebula

•Updated over 6 years ago

A task that runs commands against vault instances.

Image
0

3.5K

projectnebula/vault repository overview

⁠Hashicorp Vault

This Hashicorp Vault step container runs commands against Hashicorp Vault instances. For more information, see Vault⁠.

Use the following specifications:

⁠Specifications

SettingChild settingData typeDescriptionDefaultRequired
tokenstringA token to use for accessing vault. You can pass the token to Nebula as a secret. See the example below.NoneTrue
urlstringThe URL to the vault cluster.NoneTrue
commandmappingThe command to pass to the vault CLI.NoneTrue
argssequence of stringsAn sequence of arguments for the command.NoneFalse
gitmappingA map of git configuration. If you're using HTTPS, only name and repository are required.NoneFalse
ssh_keystringThe SSH key to use when cloning the git repository. You can pass the key to Nebula as a secret. See the example below.NoneTrue
known_hostsstringSSH known hosts file. Use a Nebula secret to pass the contents of the file into the workflow as a base64-encoded string. See the example below.NoneTrue
namestringA directory name for the git clone.NoneTrue
branchstringThe Git branch to clone.masterFalse
repositorystringThe git repository URL.NoneTrue

Note: The value you set for a secret must be a string. If you have multiple key-value pairs to pass into the secret, or your secret is the contents of a file, you must encode the values using base64 encoding, and use the encoded string as the secret value.

⁠Examples

Here is an example of the step in a Nebula workflow:

steps:

...

- name: vault
  image: projectnebula/vault:latest
  spec:
    token:
      $type: Secret
      name: vault_token
    url: path/to/your/cluster.com
    command: ls
    args: 
    - "-la"
    - "/" 
    git: 
      ssh_key:
        $type: Secret
        name: ssh_key
      known_hosts:
        $type: Secret
        name: known_hosts
      name: my-git-repo
      branch: dev
      repository: path/to/your/repo
Tag summary
Recent tags
Content type
Image
Digest
Size
68.9 MB
Last updated
over 6 years ago
docker pull projectnebula/vault:latest