Get

Learn how to list secrets.

Command

$ vela get secret <parameters...> <arguments...>

Parameters

The following parameters are used to configure the command:

NameDescriptionEnvironment Variables
orgname of organization for the secretsVELA_ORG, SECRET_ORG
reponame of repository for the secretsVELA_REPO, SECRET_REPO
secret.enginename of engine that stores the secretsVELA_ENGINE. SECRET_ENGINE
secret.typename of type of secrets being storedVELA_TYPE, SECRET_TYPE
teamname of team for the secrets, or ‘*’ for all teamsVELA_TEAM, SECRET_TEAM
outputformat the output for the secretsVELA_OUTPUT, SECRET_OUTPUT

Permissions

COMING SOON!

Sample

Request

$ pwd
~/github/octocat
$ vela get secret --secret.engine native --secret.type repo

Targeted Request

$ vela get secret --secret.engine native --secret.type repo --org github --repo octocat

Response

NAME  ORG             TYPE  EVENTS
foo   github/octocat  repo  push,pull_request