Documentation ¶
Overview ¶
Package acl implements ACL evaluation for access to a secrets database.
ACL policies are provided by tailscale peer capabilities.
Index ¶
Constants ¶
View Source
const ( // ActionGet ("get" in the API) denotes permission to fetch the contents of a secret. // // Note: ActionGet does not imply ActionInfo, or vice versa. ActionGet = Action("get") // ActionInfo ("info" in the API) denotes permission to read the metadata // for a secret, including available and active version numbers, but not the // secret values. ActionInfo = Action("info") // ActionPut ("put" in the API) denotes permission to put a new value of a // secret. ActionPut = Action("put") // ActionActivate ("activate" in the API) denotes permission to set one one // of of the available versions of a secret as the active one. ActionActivate = Action("activate") // ActionDelete ("delete" in the API) denotes permission to delete secret // versions, either individually or entirely. ActionDelete = Action("delete") )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Rule ¶
Rule is an access control rule that permits some actions on some secrets. Secrets can contain '*' wildcards, which match zero or more characters.
Click to show internal directories.
Click to hide internal directories.