Skip to content

Commit

Permalink
Merge pull request #31 from asergeant01/mountpoint-work
Browse files Browse the repository at this point in the history
Added Mountpoint Param
  • Loading branch information
Just-Insane authored Apr 15, 2021
2 parents 547b85a + 3625b9c commit e6bb66a
Show file tree
Hide file tree
Showing 3 changed files with 111 additions and 183 deletions.
9 changes: 8 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -181,13 +181,14 @@ Decrypted files have the suffix ".yaml.dec" by default

### Environment Variables

**Note:** The environment variables currently take precedent over passed flags, expect this to change in a later version.
**Note:** Flags take precedent over Environment Variables.

|Environment Variable|Default Value<br>(if unset)|Overview|Required|
|--------------------|---------------------------|--------|--------|
|`VAULT_ADDR`|`null`|The HTTP(S) address fo Vault|Yes|
|`VAULT_TOKEN`|`null`|The token used to authenticate with Vault|Yes|
|`VAULT_PATH`|`secret/helm`|The default path used within Vault||
|`VAULT_MOUNT_POINT`|`secret/data`|The default mountpoint used within Vault||
|`SECRET_DELIM`|`changeme`|The value which will be searched for within YAML to prompt for encryption/decryption||
|`SECRET_TEMPLATE`|`VAULT:`|Used for [Vault Path Templating](#vault-path-templating)||
|`EDITOR`| - Windows: `notepad` <br> - macOS/Linux: `vi`|The editor used when calling `helm vault edit`||
Expand Down Expand Up @@ -218,6 +219,12 @@ This is the path within Vault that secrets are stored. It should start with the

Default when not set: `secret/helm`, where `secret` is the secrets engine being used, and `helm` is the folder in which all secrets will be stored.
</details>
<summary>VAULT_MOUNT_POINT</summary>

This is the mountpoint within Vault that secrets are stored. Vault stores secrets in the following url format `/{mount_point}/data/{path}`. Mountpoint in this case could also include any namespaces, e.g. `namespace1/subnamespace/mountpoint` = `/namespace1/subnamespace/mountpoint/data/{path}`.

Default when not set: `secret`, where `secret` is the mountpoint being used.
</details>

<details>
<summary>SECRET_DELIM</summary>
Expand Down
Loading

0 comments on commit e6bb66a

Please sign in to comment.