Scopes
A scope is one entry in the Alpacon permission vocabulary. It names a resource and an action allowed on that resource, such as reading servers or running a command. The same vocabulary does two jobs: it is what a role grants to a user or a group, and it is what you choose from when you issue an API token or a service token. This page lists every scope Alpacon defines, grouped by the part of the product it belongs to, so you can give a credential the smallest set it actually needs.
The scope picker in the console and alpacon token scopes show the subset you can grant right now. This page explains what each one means.
What a scope is
A scope has two parts joined by a colon: the resource it applies to, and the action it allows on that resource. server:read allows reading servers. command:create allows running a command on one.
The vocabulary is flat on purpose. There is no nesting, so server:read and session:read are unrelated entries rather than a hierarchy.
A scope on a credential is a limit, not a grant. Putting server:delete on a token does not give you the ability to delete servers; it lets the token use an ability your roles already give you. A scope your roles do not include cannot go on the token at all.
Three different things in Alpacon are called a scope. This page is about the first one.
| Term | What it is |
|---|---|
| Scope (this page) | A resource:action entry. Roles, API tokens, and service tokens all use it. |
| Work session scope | One of websh, command, webftp, tunnel, editor, sudo: which kinds of activity an approved work session allows. Set with alpacon work-session create --scope. |
| Permission scope | In role management, whether a permission applies workspace-wide or only to specific objects. |
How a scope is checked
When the credential is issued. Every scope you select is checked against what your own roles give you, so you cannot put a scope on a token that you do not hold yourself. There is no administrator exception: a workspace superuser can select any scope because the superuser role holds the full wildcard, and that goes through the same check as everyone else. Only workspace-wide permissions count here. A permission you hold on one specific server or group does not let you put that scope on a token.
For a service token, the same check runs against the roles of the application the token belongs to, not against yours.
For the rest of its life. The scopes stored on a credential are a claim, not a standing grant. What the credential can actually do is that stored set bounded by what its owner may confer right now, so authority the owner loses stops flowing through every credential minted from it. The effect is immediate and needs no reissue. It only ever narrows: a widened role never widens a credential that already exists.
Two consequences worth planning around. Reducing someone’s role reduces their tokens at the same moment, with no notification to whoever is using them, so a pipeline can start failing on a permission change nobody connected to it. And the stored list the console shows you is the claim, which can be wider than what the credential currently buys.
On each request. A request made with a token succeeds only if the token holds the scope for that operation. Requests you make in the console after signing in are not limited by token scopes.
Two separate questions. A scope answers what kind of operation is allowed. An ACL answers which objects it may be performed on. Both apply, and the Object narrowing column in the catalog below tells you which kind of ACL a resource answers to:
- Server ACL decides which servers a credential may reach. For a service token this is the whole of its server visibility: with no entries at all, it sees no servers.
- Command ACL decides which commands it may run.
- File ACL decides which paths it may transfer.
A resource showing — in that column is not narrowed by an ACL.
Scope format
| Form | Example | Meaning |
|---|---|---|
resource:action | server:read | One action on one resource |
resource:* | server:* | Every action on one resource |
*:action | *:read | One action on every resource |
* | * | Everything |
- Lowercase only. A resource or action name starts with a letter and may contain letters, digits, underscores, and hyphens.
- Exactly one colon, and at most 64 characters.
- Partial patterns are not accepted.
server:*is valid,ser*:readis not. - A wildcard has to cover at least one scope that exists, so a misspelling like
sever:*is rejected instead of quietly accepted. - A wildcard is accepted only when your own permissions cover that wildcard. Holding every individual
server:action is not the same as holdingserver:*—asking forserver:*requires that you holdserver:*or*yourself. In practice*is available only to a workspace superuser.
Standard actions
Most resources use the same four action names.
| Action | Meaning |
|---|---|
create | Create a new one. |
read | List them, and read one in detail. |
update | Modify an existing one. |
delete | Delete one. |
read covers both listing and reading a single item, and update covers both a full replacement and a partial change. Where a resource gives one of these four names a meaning of its own—command:create runs a command, session:create opens a terminal—it appears in that resource’s own table instead of here.
Presets
A preset is a named bundle of scopes for a common job. Picking one saves you from assembling the parts by hand.
The tables below list every scope a preset carries. Three of them carry a scope that cannot go on a credential, so on an API token or a service token those presets apply what is left—each one says so. Used for a role, a preset always applies everything it lists, whichever extensions are on.
Terminal access (terminal_access)
Open a Websh terminal on a server, run commands in it, and read the session history.
| Resource | Action |
|---|---|
server | read |
session | create · read · close · refresh |
userchannel | create · read · close |
command | read · create · chunks |
On a credential, session:create and userchannel:create are left out. Why a scope may not be available below says why.
Command execution (command_execute)
Run commands on servers with alpacon exec and read the output as it streams back.
| Resource | Action |
|---|---|
server | read |
command | create · read · chunks · purpose |
event_session | create · read |
event_subscription | create · read |
Command history (command_read)
Read command history and output without being able to run anything new.
| Resource | Action |
|---|---|
server | read |
command | read · chunks |
File upload (file_upload)
Send files to servers with alpacon cp local server:.
| Resource | Action |
|---|---|
server | read |
uploaded_file | create · upload · status · bulk · bulk_upload · read |
File download (file_download)
Fetch files from servers with alpacon cp server: local.
| Resource | Action |
|---|---|
server | read |
downloaded_file | create · download · status · bulk · read |
File transfer (file_transfer)
Both directions, through either alpacon cp or WebFTP in the browser.
| Resource | Action |
|---|---|
server | read |
uploaded_file | create · upload · status · bulk · bulk_upload · read |
downloaded_file | create · download · status · bulk · read |
ftp_session | create · read · close |
On a credential, ftp_session:create is left out. Why a scope may not be available below says why.
Tunnel session (tunnel_connect)
Open tunnel sessions to servers with alpacon tunnel.
| Resource | Action |
|---|---|
server | read |
tunnel_session | create · read · reconnect · close |
On a credential, tunnel_session:create and tunnel_session:reconnect are left out, which leaves listing and closing but not opening. Why a scope may not be available below says why.
Monitoring (monitoring)
Read server resource usage, read a server’s collection profile, and view and acknowledge alerts. Alert rules are readable but not editable. On an API token or a service token, the whole preset disappears when the Metrics extension is off, even though two of its scopes aren’t themselves extension-gated: alert and server:collection_profile stay selectable on their own, or through another preset, whichever way the extension is set. A role can still be built from it, with every scope below.
| Resource | Action |
|---|---|
server | read · collection_profile |
metric | read · top |
alert | read · acknowledge |
alert_rule | read |
Certificate management (cert_management)
Request and track certificates from the internal certificate authority. On an API token or a service token, the whole preset disappears when the Private SSL extension is off. A role can still be built from it, with every scope below.
| Resource | Action |
|---|---|
authority | read |
sign_request | read · create |
certificate | read |
revoke_request | read · create |
Group management (group_management)
Create and change groups, and manage which users belong to them.
| Resource | Action |
|---|---|
group | read · create · update · delete |
membership | read · create · update · delete |
Read-only (read_only)
Read servers, commands, events, sessions, metrics, alerts, and transfer records. Workspace administration and extension resources are not included. On an API token or a service token, the metric and alert_rule rows drop out of this preset on a workspace without the Metrics extension. A role built from it keeps them.
| Resource | Action |
|---|---|
server | read · collection_profile |
command | read |
event | read |
session | read |
userchannel | read |
tunnel_session | read |
ftp_session | read |
uploaded_file | read |
downloaded_file | read |
metric | read |
alert | read |
alert_rule | read |
Presets are expanded into individual scopes when the credential is created, and the credential stores those scopes. Editing a preset later therefore does not change credentials that already exist. Presets can only be used while creating a credential, not while editing one.
Why a scope may not be available
If the console or the CLI does not offer a scope you expected, one of these is usually why.
Your roles do not include it. The picker shows only what you could grant. Ask a workspace administrator for the role that carries it.
The workspace extension is not enabled. On an API token or a service token, resources belonging to DNS, Proxy, Private SSL, and Metrics appear only when that extension is turned on. Metrics gates metric, alert_rule, and rule_override—not alert, which core disk and offline alerts also use, or server:collection_profile, which reports the extension’s status and works whether it’s on or off.
It is reserved. These scopes are deliberately left out of the admin role:
- Closing a session that belongs to someone else:
session:force_close,tunnel_session:force_close,ftp_session:force_close - Closing sessions:
session:close,tunnel_session:close,ftp_session:close,userchannel:close - Deciding approval requests:
approval_request:approve,approval_request:reject - Emergency access on a service token:
service_token:break_glass - Deleting a group:
group:delete
They come from a more specific role instead. The operator role covers closing sessions, the approver role covers deciding approval requests, and a workspace superuser holds everything.
It cannot be put on a credential. A few scopes exist and are offered to roles, but a token cannot carry them. Which tokens this applies to depends on the scope. Your roles are not the reason, and asking for another one will not help.
- Opening a terminal, a tunnel, or a WebFTP session, or letting someone else into one:
session:create,session:share,session:invite,userchannel:create,userchannel:update,tunnel_session:create,tunnel_session:reconnect,ftp_session:create. These actions need a person present at a keyboard, and a recent MFA check where your workspace requires one. A token has nobody behind it, so it is refused when it tries, and the scope would open nothing. Use the console for interactive work. For automation, use the presets for the operation itself: Command execution to run commands, and File upload and File download to transfer files. - Registering a server, on a personal API token only:
server:register. Register a server with a registration token instead—create one under the server’s registration page. A registration token is listed and revoked alongside the workspace’s other server registration tokens, and can place the new server into the groups you chose. A personal token is not on that list, and cannot choose the new server’s groups. A service token may holdserver:register, because a service token belongs to an application and is managed on its own page.
A preset that contains one of these still works: the scope is left out and the rest is applied. So on a credential, Terminal access grants eight of its ten scopes, File transfer fourteen of its fifteen, and Tunnel session three of its five—enough to list and close tunnels, not to open one. The preset keeps all of its scopes when you use it for a role.
Tokens issued before this rule may still carry these scopes. They keep them, and nothing changes for them: the interactive ones were already refused at the moment of use, and server:register keeps working as it did, as long as your roles still grant it.
A credential that carries full access (*) is not affected either: a token issued with full access can still use server:register. The interactive actions refuse it all the same, as they refuse every token. If that matters for your workspace, issue tokens with the specific scopes they need rather than full access.
All resources
| Resource | Area | Actions | Object narrowing |
|---|---|---|---|
server | Servers | 25 | Server |
note | Servers | 4 | Server |
registration_token | Servers | 3 | — |
registration_method | Servers | 2 | — |
proc | Servers | 5 | Server |
backhaul_session | Servers | 1 | Server |
session | Sessions and terminals | 13 | Server |
session_analysis | Sessions and terminals | 2 | — |
userchannel | Sessions and terminals | 5 | Server |
tunnel_session | Sessions and terminals | 5 | Server |
work_session | Sessions and terminals | 14 | Server |
ftp_session | File transfer | 6 | Server |
uploaded_file | File transfer | 7 | Server, File |
downloaded_file | File transfer | 6 | Server, File |
command | Commands and events | 5 | Server, Command |
event | Commands and events | 1 | Server |
local_access_event | Commands and events | 1 | Server |
local_access_finding | Commands and events | 2 | Server |
direct_access_entry | Commands and events | 5 | — |
local_access_detection | Commands and events | 1 | — |
event_session | Commands and events | 4 | — |
event_subscription | Commands and events | 4 | — |
cloud_account | Cloud | 13 | — |
cloud_connection_method | Cloud | 1 | — |
cloud_instance | Cloud | 6 | — |
installation_job | Cloud | 1 | — |
network | IP management | 4 | — |
subnet | IP management | 4 | — |
pool | IP management | 4 | — |
device | IP management | 4 | — |
dhcp_server | IP management | 6 | Server |
lease | IP management | 3 | Server |
dhcp_session | IP management | 1 | Server |
zone | DNS | 4 | — |
record | DNS | 4 | — |
dns_view | DNS | 4 | — |
dns_server | DNS | 6 | Server |
domain_group | Proxy | 4 | — |
domain | Proxy | 4 | — |
access_policy | Proxy | 4 | — |
access_rule | Proxy | 4 | — |
proxy_profile | Proxy | 4 | — |
proxy_server | Proxy | 6 | Server |
authority | Private SSL | 7 | Server |
sign_request | Private SSL | 9 | — |
certificate | Private SSL | 2 | — |
revoke_request | Private SSL | 7 | — |
package | Packages | 4 | — |
package_entry | Packages | 4 | — |
alert_rule | Monitoring and audit | 4 | — |
rule_override | Monitoring and audit | 4 | Server |
metric | Monitoring and audit | 2 | Server |
alert | Monitoring and audit | 2 | Server |
activity | Monitoring and audit | 2 | — |
role_audit_log | Monitoring and audit | 1 | — |
command_acl | Access control lists | 7 | — |
server_acl | Access control lists | 6 | — |
file_acl | Access control lists | 7 | — |
approval_policy | Approvals and sudo | 4 | — |
approval_request | Approvals and sudo | 8 | — |
sudo_policy | Approvals and sudo | 4 | — |
sudo_policy_request | Approvals and sudo | 2 | — |
sudo_grant | Approvals and sudo | 2 | — |
webhook | Notifications | 4 | — |
notification | Notifications | 3 | — |
slack_installation | Notifications | 3 | — |
slack_user_mapping | Notifications | 5 | — |
workspace | Workspace and IAM | 2 | — |
preferences | Workspace and IAM | 2 | — |
user | Workspace and IAM | 4 | — |
group | Workspace and IAM | 4 | — |
membership | Workspace and IAM | 4 | — |
application | Workspace and IAM | 4 | — |
service_token | Workspace and IAM | 7 | — |
Servers
server
Server records: registration, fleet listing, per-server detail, and grouping. Narrowed by Server ACL. See Server management.
Standard meanings: read · update
| Action | What it permits |
|---|---|
access | Server access |
actions | Run a built-in server action |
attach_rule | Attach an alert rule to the server |
collection_profile | Read the server’s collection profile—what it collects, how often, and what it doesn’t |
create | Add a server to the workspace |
delete | Remove a server from the workspace |
detach_rule | Detach an alert rule from the server |
groups | Read the server’s system groups |
hexagon | Read the fleet status overview |
info | Read the server’s system information |
interfaces | Read the server’s network interfaces |
mute | Mute or unmute the server’s alerts |
os | Read the server’s OS version |
os_distribution | Read OS distribution statistics across servers |
packages | Read the packages installed on the server |
register | Let a server enroll itself |
reserved_commands | Read commands scheduled to run later |
search_records | Record search |
star | Read and set the favorite marker |
time | Read the server’s system time |
users | Read the server’s system users |
note
Free-form notes attached to a server. Narrowed by Server ACL. See Managing a server.
Standard meanings: create · delete · read · update
registration_token
Registration tokens that let a new server enroll itself. See Server registration tokens.
Standard meanings: delete · read
| Action | What it permits |
|---|---|
create | Create a registration token |
registration_method
The registration methods offered when adding a server, and the generated setup guide. See Registering a server.
| Action | What it permits |
|---|---|
guide | Generate the setup guide for the chosen method |
proc
System accounts discovered on managed servers, and how they map to Alpacon users. Narrowed by Server ACL. See Account selection.
backhaul_session
Agent connection sessions between a managed server and Alpacon. Narrowed by Server ACL.
Sessions and terminals
session
Websh terminal sessions: opening, sharing, closing, and reading the recorded transcript. Narrowed by Server ACL. See Websh sessions.
Standard meanings: delete · read · update
session_analysis
AI analysis results produced for terminal sessions. See Session analysis.
| Action | What it permits |
|---|---|
aggregate | Read analysis results aggregated across sessions |
userchannel
Individual viewer connections within a terminal session, including shared and invited ones. Narrowed by Server ACL. See Websh sessions.
Standard meanings: delete · read · update
| Action | What it permits |
|---|---|
close | Close a viewer connection |
create | Join a terminal session |
tunnel_session
Tunnel sessions used by the editor and by port forwarding. Narrowed by Server ACL. See Editor sessions.
| Action | What it permits |
|---|---|
close | Close a session |
create | Open a tunnel session |
force_close | Close a session that belongs to someone else |
reconnect | Reconnect the tunnel session |
work_session
Work sessions: the time-boxed, approved access window and everything decided inside it. Narrowed by Server ACL. See Work sessions.
Standard meanings: read · update
File transfer
ftp_session
WebFTP browsing sessions on a server. Narrowed by Server ACL. See WebFTP.
Standard meanings: delete · read · update
| Action | What it permits |
|---|---|
close | Close a session |
create | Open a WebFTP session |
force_close | Close a session that belongs to someone else |
uploaded_file
Files sent to a server, whether through WebFTP or alpacon cp. Narrowed by Server, File ACL. See Uploading files.
downloaded_file
Files fetched from a server, whether through WebFTP or alpacon cp. Narrowed by Server, File ACL. See Downloading files.
Commands and events
command
Commands run on servers, and their output. Narrowed by Server, Command ACL. See Command events.
event
The event log that records what happened on a server. Narrowed by Server ACL. See Event audit.
local_access_event
Access events recorded on a server that did not come through Alpacon. Narrowed by Server ACL. See External access.
local_access_finding
Findings that group direct logins for review, with the period summary and the evidence export. Narrowed by Server ACL. See Review direct logins. Reading the summary, exporting evidence and recording a disposition need a person signed in to the console, so a token holding this scope can only list and read findings.
| Action | What it permits |
|---|---|
dispose | Record a disposition on a finding, one at a time or in a batch |
direct_access_entry
The allowed direct access list: standing entries for expected direct logins, and the requests for them. See The allowed direct access list. create also covers granting or declining a request. Every action except read needs a person signed in to the console, and create, update and delete also ask for MFA verification.
Standard meanings: create · delete · read · update
| Action | What it permits |
|---|---|
request | Ask a policy owner for a standing entry |
local_access_detection
The workspace’s direct-login detection switch. See Turn on detection. Changing it needs a person signed in to the console and MFA verification, so a token holding this scope can’t use it.
| Action | What it permits |
|---|---|
update | Turn direct-login detection on or off |
event_session
Live event streams that a client subscribes to while a command runs.
Standard meanings: create · delete · read · update
event_subscription
Subscriptions that decide which events a client receives.
Standard meanings: create · delete · read · update
Cloud
cloud_account
Connected cloud accounts, their verification state, and the fleet summaries drawn from them. See Cloud accounts.
Standard meanings: create · delete · read · update
cloud_connection_method
The available ways to connect a cloud account. See Connecting AWS.
cloud_instance
Cloud instances discovered in a connected account, and agent installation on them. See Cloud instances.
Standard meanings: read · update
installation_job
Progress records for agent installations started from the cloud instance list. See Installing the agent.
IP management
network
Managed networks in IP management.
Standard meanings: create · delete · read · update
subnet
Subnets inside a managed network.
Standard meanings: create · delete · read · update
pool
Address pools that a subnet hands out from.
Standard meanings: create · delete · read · update
device
Devices tracked in IP management.
Standard meanings: create · delete · read · update
dhcp_server
The DHCP service running on a managed server, including restarting and upgrading it. Narrowed by Server ACL.
Standard meanings: create · delete · read · update
| Action | What it permits |
|---|---|
restart | Restart the service on the server |
upgrade | Upgrade the service on the server |
lease
Address leases that DHCP has handed out. Narrowed by Server ACL.
Standard meanings: create · read
| Action | What it permits |
|---|---|
ignore | Mark a lease as ignored |
dhcp_session
DHCP exchange records between a client and the server. Narrowed by Server ACL.
DNS
zone
DNS zones. Offered on API tokens and service tokens only when the DNS extension is enabled for the workspace; a role can hold it either way.
Standard meanings: create · delete · read · update
record
DNS records inside a zone. Offered on API tokens and service tokens only when the DNS extension is enabled for the workspace; a role can hold it either way.
Standard meanings: create · delete · read · update
dns_view
DNS views that decide which zone a client resolves against. Offered on API tokens and service tokens only when the DNS extension is enabled for the workspace; a role can hold it either way.
Standard meanings: create · delete · read · update
dns_server
The DNS service running on a managed server, including restarting and upgrading it. Narrowed by Server ACL. Offered on API tokens and service tokens only when the DNS extension is enabled for the workspace; a role can hold it either way.
Standard meanings: create · delete · read · update
| Action | What it permits |
|---|---|
restart | Restart the service on the server |
upgrade | Upgrade the service on the server |
Proxy
domain_group
Groups of domains referenced by proxy access rules. Offered on API tokens and service tokens only when the Proxy extension is enabled for the workspace; a role can hold it either way.
Standard meanings: create · delete · read · update
domain
Individual domains used in proxy access rules. Offered on API tokens and service tokens only when the Proxy extension is enabled for the workspace; a role can hold it either way.
Standard meanings: create · delete · read · update
access_policy
Proxy access policies: the named sets of rules a proxy profile applies. Offered on API tokens and service tokens only when the Proxy extension is enabled for the workspace; a role can hold it either way.
Standard meanings: create · delete · read · update
access_rule
Individual rules inside a proxy access policy. Offered on API tokens and service tokens only when the Proxy extension is enabled for the workspace; a role can hold it either way.
Standard meanings: create · delete · read · update
proxy_profile
Proxy profiles that bind an access policy to the servers running the proxy. Offered on API tokens and service tokens only when the Proxy extension is enabled for the workspace; a role can hold it either way.
Standard meanings: create · delete · read · update
proxy_server
The proxy service running on a managed server, including restarting and upgrading it. Narrowed by Server ACL. Offered on API tokens and service tokens only when the Proxy extension is enabled for the workspace; a role can hold it either way.
Standard meanings: create · delete · read · update
| Action | What it permits |
|---|---|
restart | Restart the service on the server |
upgrade | Upgrade the service on the server |
Private SSL
authority
Internal certificate authorities, including the revocation list they publish. Narrowed by Server ACL. Offered on API tokens and service tokens only when the Private SSL extension is enabled for the workspace; a role can hold it either way. See Certificate authorities.
Standard meanings: create · delete · read · update
| Action | What it permits |
|---|---|
crl | Download the revocation list |
restart | Restart the service on the server |
upgrade | Upgrade the service on the server |
sign_request
Certificate signing requests and their review outcome. Offered on API tokens and service tokens only when the Private SSL extension is enabled for the workspace; a role can hold it either way. See Certificate requests.
Standard meanings: create · delete · read · update
| Action | What it permits |
|---|---|
approve | Approve the request |
deny | Deny the request |
mark_failed | Mark the request as failed |
retry | Retry the request |
submit | Submit the request for review |
certificate
Issued certificates. Offered on API tokens and service tokens only when the Private SSL extension is enabled for the workspace; a role can hold it either way. See Certificates.
| Action | What it permits |
|---|---|
by_serial | Look up a certificate by serial number |
revoke_request
Certificate revocation requests and their review outcome. Offered on API tokens and service tokens only when the Private SSL extension is enabled for the workspace; a role can hold it either way. See Certificates.
Standard meanings: create · delete · read
| Action | What it permits |
|---|---|
approve | Approve the request |
deny | Deny the request |
mark_failed | Mark the request as failed |
retry | Retry the request |
Packages
package
Packages held in the workspace package mirror.
Standard meanings: create · delete · read · update
package_entry
Individual files inside a mirrored package.
Standard meanings: create · delete · read
| Action | What it permits |
|---|---|
download | Download the package file |
Monitoring and audit
alert_rule
Alert rules that decide when a server raises an alert. Offered on API tokens and service tokens only when the Metrics extension is enabled for the workspace; a role can hold it either way. See Server monitoring.
Standard meanings: create · delete · read · update
rule_override
A server’s departure from an alert rule: its own threshold, recovery threshold, or duration, or an exemption from the rule entirely. Narrowed by Server ACL—only for servers the credential can already manage. Offered on API tokens and service tokens only when the Metrics extension is enabled for the workspace; a role can hold it either way. See Server monitoring.
Standard meanings: create · delete · read · update
metric
Resource usage metrics collected from servers. Narrowed by Server ACL. Offered on API tokens and service tokens only when the Metrics extension is enabled for the workspace; a role can hold it either way. See Server monitoring.
| Action | What it permits |
|---|---|
top | Read the highest-usage entries |
alert
Alerts that servers have raised. Narrowed by Server ACL. See Server monitoring.
| Action | What it permits |
|---|---|
acknowledge | Acknowledge an alert |
activity
The workspace activity log. See Activity log.
Reading anyone’s activity but your own needs activity:read held across the workspace. Without it, you read only your own records, and filtering by group is refused with 403.
| Action | What it permits |
|---|---|
chart | Read activity as a time series |
role_audit_log
The record of role grants and revocations. See Audit.
Access control lists
command_acl
Command ACL entries: which commands a credential may run. See Command patterns.
Standard meanings: create · delete · read · update
| Action | What it permits |
|---|---|
bulk_create | Create several entries in one request |
bulk_delete | Delete several entries in one request |
bulk_update | Modify several entries in one request |
server_acl
Server ACL entries: which servers a credential may reach. See API access tokens.
Standard meanings: create · delete · read · update
| Action | What it permits |
|---|---|
bulk_create | Create several entries in one request |
bulk_delete | Delete several entries in one request |
file_acl
File ACL entries: which paths a credential may transfer. See WebFTP permissions.
Standard meanings: create · delete · read · update
| Action | What it permits |
|---|---|
bulk_create | Create several entries in one request |
bulk_delete | Delete several entries in one request |
bulk_update | Modify several entries in one request |
Approvals and sudo
approval_policy
Approval policies: what needs review, and who reviews it. See Approval governance.
Standard meanings: create · delete · read · update
approval_request
Approval requests and the decision made on them. See Approvals.
Standard meanings: create · delete · read
sudo_policy
Sudo policies that decide when privilege elevation is allowed. See Sudo with MFA.
Standard meanings: create · delete · read · update
sudo_policy_request
Requests to add or change a sudo policy. See Sudo with MFA.
Standard meanings: create · read
sudo_grant
Granted privilege elevations and their verification state. See Sudo events.
| Action | What it permits |
|---|---|
verify | Confirm a grant after MFA is completed |
Notifications
webhook
Outbound webhooks for workspace events. See Notifications.
Standard meanings: create · delete · read · update
notification
In-product notifications addressed to you. See Notifications.
Standard meanings: read · update
| Action | What it permits |
|---|---|
dismiss | Dismiss a notification |
slack_installation
The Slack connection for the workspace. See Notifications.
Standard meanings: delete · read · update
slack_user_mapping
Pairings between Alpacon users and Slack members. See Notifications.
Standard meanings: create · delete · read
| Action | What it permits |
|---|---|
candidates | List Alpacon users that are not paired yet |
slack_members | List Slack members that are not paired yet |
Workspace and IAM
workspace
Workspace-level settings. See Workspace settings.
Standard meanings: read · update
preferences
Workspace preferences, including which extensions are enabled. See Workspace settings.
Standard meanings: read · update
user
Workspace user accounts. See Users.
Standard meanings: create · delete · read · update
group
Groups used for grouping users and servers. See Groups.
Standard meanings: create · delete · read · update
membership
Which users belong to which group, and with what group role. See Assigning users to groups.
Standard meanings: read · update
| Action | What it permits |
|---|---|
create | Add a user to a group |
delete | Remove a user from a group |
application
Applications: the non-human identities that service tokens belong to. See Applications.
Standard meanings: create · delete · read · update
service_token
Service tokens issued to an application, including rotation and emergency controls. See Service tokens.
Standard meanings: read · update
| Action | What it permits |
|---|---|
break_glass | Activate emergency access on the token |
create | Issue a service token |
delete | Delete a service token |
disable | Disable the token immediately |
rotate | Regenerate the token key |
Troubleshooting
| Error code | What it means | What to do |
|---|---|---|
api_token_scope_exceeds_rbac | A scope you selected is outside what your roles allow. | The response does not name the scope, so compare your selection against what alpacon token scopes lists for you and remove anything absent. |
service_token_scope_exceeds_role | A scope is outside what the application’s roles allow. | Grant the application the role that carries it, or drop the scope. |
api_token_acl_not_allowed | The token holds the scope, but no ACL entry covers the server, command, or path you targeted. | Add the matching Server, Command, or File ACL entry for that token. |
api_token_presets_not_allowed_on_update | A preset was sent while editing an existing credential. | Send the individual scopes instead. Presets apply only at creation. |
No matching scopes for pattern | A wildcard pattern covers no scope that exists. | Check the spelling of the resource or action against the catalog above. |
Unknown scope | The scope name is not in the catalog. | Check the spelling, and note that resource names are singular (server, not servers). |
Related
- API tokens—the API for creating and editing tokens
alpacon token scopes—list the scopes you can grant right now- API access tokens—issuing and managing a personal token
- Service tokens—issuing a token for an application
- Permissions—how roles grant these same entries to users and groups