Skip to content

Commit

Permalink
Add Secrets Management Link
Browse files Browse the repository at this point in the history
in Creating Variable Sets.
  • Loading branch information
jfermi committed Jun 7, 2024
1 parent 58d5bce commit 037cbfd
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 11 deletions.
16 changes: 5 additions & 11 deletions docs/docs/cli/creating-variable-sets.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ image: https://res.cloudinary.com/djwdcmwdz/image/upload/v1698686403/docs/Blog_T

This page showcases how to create and edit variable sets with the CLI.

:::info
For details on creating and editing variable sets in the Web UI, please visit [Web UI Creating Variable Sets](/web-ui/creating-variable-sets).
:::info
For details on creating and editing variable sets in the Web UI, please visit Web UI Creating Variable Sets.
:::

:::tip
Expand All @@ -23,7 +23,7 @@ For details on creating and editing variable sets in the Web UI, please visit [W

Just like Data Stores, you can also manage your variable sets using the CLI and definition files.

A definition file looks like the following:
A definition file looks like the following:

```yaml
type: VariableSet
Expand All @@ -47,9 +47,9 @@ tracetest apply variableset -f <variableset.yaml>
## Using Secrets in Variable Sets

A VariableSet with secret values can be registered via the CLI.
A VariableSet with a secret values can be registered via the CLI like this:

```yaml
```
type: VariableSet
spec:
id: test-1
Expand All @@ -63,9 +63,3 @@ spec:
value: aha!
type: raw
```
Apply the configuration by running:
```sh
tracetest apply variableset -f <variableset.yaml>
```
2 changes: 2 additions & 0 deletions docs/docs/web-ui/creating-variable-sets.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -43,3 +43,5 @@ To export a YAML definition of a variable set, click **Variable Set Definition**
Variable Sets accept secrets. A variable can be a `secret` or a `raw` variable in the UI.

![Create Variable Set Values](../img/create-variable-set-values.png)

More information on **Secrets Management** can be found [here](https://docs.tracetest.io/concepts/variable-sets#secrets-management).

0 comments on commit 037cbfd

Please sign in to comment.