Skip to main content

Update

Command

$ vela update config <parameters...> <arguments...>
tip

For more information, you can run vela update config --help.

Parameters

The following parameters are used to configure the command:

NameDescriptionEnvironment Variables
api.addrupdates the API address fieldVELA_ADDR, CONFIG_ADDR
api.token.accessupdates the API access token fieldVELA_ACCESS_TOKEN, CONFIG_ACCESS_TOKEN
api.token.refreshupdates the API refresh token fieldVELA_REFRESH_TOKEN, CONFIG_REFRESH_TOKEN
api.tokenupdates the API token fieldVELA_TOKEN, CONFIG_TOKEN
api.versionupdates the API version fieldVELA_API_VERSION, CONFIG_API_VERSION
log.levelupdates the log level fieldVELA_LOG_LEVEL, CONFIG_LOG_LEVEL
outputupdates the output fieldVELA_OUTPUT, CONFIG_OUTPUT
orgupdates the org fieldVELA_ORG, CONFIG_ORG
repoupdates the repo fieldVELA_REPO, CONFIG_REPO
secret.engineupdates the secret engine fieldVELA_ENGINE, CONFIG_ENGINE
secret.typeupdates the secret type fieldVELA_TYPE, CONFIG_TYPE

Permissions

COMING SOON!

Sample

warning

This section assumes you have already installed and setup the CLI.

To install the CLI, please review the installation documentation.

To setup the CLI, please review the authentication documentation.

Request

vela update config --org github

Response

api:
addr: https://vela.example.com
access_token: superSecretAccessToken
refresh_token: superSecretRefreshToken
version: v1
log:
level: info
no-git: "false"
secret: {}
org: github