Skip to main content

ax settings set

Configure settings of an ActyxOS node
ax settings set [FLAGS] <SCOPE> <VALUE> <NODE>
-h, --help Prints help information
-l, --local Process over local network
-V, --version Prints version information
-v Verbosity level. Add more v for higher verbosity
(-v, -vv, -vvv, etc.)
<SCOPE> Scope for which you want to set the given settings
<VALUE> The value you want to set for the given scope as a YAML or JSON
string. You may also pass in a file using the syntax `@file.yml`
or have the command read from stdin using `@-`
<NODE> Node ID or, if using `--local`, the IP address of the node to
perform the operation on

Please see the following usage examples for the ax settings set command:

Example Usage
# Set settings for settings scope com.actyx at node from file
# node1.settings.yml
ax settings set --local com.actyx.os @node1.settings.yml
# Just set the specific setting displayName
ax settings set --local com.actyx.os/general/displayName "Node 1"
# Read in settings from stdin
echo "
displayName: My Node
swarmKey: 4245c0e542a4f89985a92de178d2169dc7f3596a382828aa8381bc13370e9880
- /ipfs/
- /ipfs/" | ax settings set --local com.actyx.os @-