Documentation
¶
Overview ¶
Package acl implements 'alpacon acl', which manages the command pre-approval ledger held by the command signer.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var AclCmd = &cobra.Command{ Use: "acl", Short: "Manage pre-approved commands", Long: `Manage the command pre-approval ledger: the pre-approved commands a service token may run without each run being judged again, and the Command ACL admins who may change them. The web console shows the same entries under Pre-approved commands on a service token's page. A personal API token has no command list on the ledger. The ledger is kept by the command signer rather than the workspace, so the first acl command asks you to authorize it in the browser, the same way 'alpacon login' does. That authorization is not renewed in the background: when it expires, the next acl command asks for it again. Only a Command ACL admin of the workspace may read or change the ledger, and only with their own sign-in—an API token cannot. Workspaces that do not use the ledger keep managing command ACLs with 'alpacon token acl command'. Set ALPACON_AI_URL to reach a self-hosted command signer; Alpacon Cloud workspaces need no configuration.`, RunE: func(cmd *cobra.Command, args []string) error { return utils.RequireSubcommand(cmd) }, }
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.