Skip to main content

Remove

Command

$ vela remove secret <parameters...> <arguments...>
tip

For more information, you can run vela remove secret --help.

Parameters

The following parameters are used to configure the command:

NameDescriptionEnvironment Variables
orgname of organization for the secretVELA_ORG, SECRET_ORG
reponame of repository for the secretVELA_REPO, SECRET_REPO
secret.enginename of engine that stores the secretVELA_ENGINE. SECRET_ENGINE
secret.typename of type of secret being storedVELA_TYPE, SECRET_TYPE
teamname of team for the secretVELA_TEAM, SECRET_TEAM
namename of the secretVELA_NAME, SECRET_NAME
outputformat the output for the secretVELA_OUTPUT, SECRET_OUTPUT
tip

This command also supports setting the following parameters via a configuration file:

  • secret.engine
  • secret.type
  • org
  • repo
  • output

For more information, please review the CLI config documentation.

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

$ pwd
~/github/octocat
$ vela remove secret --secret.engine native --secret.type repo --name foo

Targeted Request

$ pwd
~/github/octocat
$ vela remove secret --secret.engine native --secret.type repo --org github --repo octocat --name foo

Response

secret "foo" was deleted