Skip to content

Commit

Permalink
Made alert more obvious, added --param-file description (#313)
Browse files Browse the repository at this point in the history
  • Loading branch information
purplecabbage committed Jan 30, 2024
1 parent 25454a6 commit db0506f
Showing 1 changed file with 20 additions and 1 deletion.
21 changes: 20 additions & 1 deletion src/pages/guides/credential-rotation.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,27 @@ In order to update the inputs for a particular action we use the `aio runtime ac

```

<InlineAlert slots="text" />

Very important! You must pass ALL parameters in a single `update` call. Any parameters not specified will disappear.

## Using a parameters file ( JSON )

You can also put your input values in a json file instead of typing them all into the command line. This applies to both `aio runtime action update` and `aio runtime package update`

```bash
# actionInputs.json
{
"actionCredential": "value from actionInputs.json"
}

➜ aio runtime action update <action-name> --param-file=<value>
# concrete example
➜ aio runtime action update dx-excshell-1/generic --param-file=actionInputs.json

```


<InlineAlert slots="text" />

Very important! You must pass ALL parameters in a single `update` call. Any parameters not specified will disappear.
Again! This is very important! You must pass ALL parameters in a single `update` call. Any parameters NOT specified will disappear.

0 comments on commit db0506f

Please sign in to comment.