MCPcopy Create free account
hub / github.com/chainloop-dev/chainloop / newOrganizationAPITokenCmd

Function newOrganizationAPITokenCmd

app/cli/cmd/organization_apitoken.go:22–33  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

20)
21
22func newOrganizationAPITokenCmd() *cobra.Command {
23 cmd := &cobra.Command{
24 Use: "api-token",
25 Aliases: []string{"token"},
26 Short: "API token management",
27 Long: "Manage API tokens to authenticate with the Chainloop API or perform attestations.",
28 }
29
30 cmd.AddCommand(newAPITokenCreateCmd(), newAPITokenListCmd(), newAPITokenRevokeCmd())
31
32 return cmd
33}

Callers 1

newOrganizationCmdFunction · 0.85

Calls 3

newAPITokenCreateCmdFunction · 0.85
newAPITokenListCmdFunction · 0.85
newAPITokenRevokeCmdFunction · 0.85

Tested by

no test coverage detected