Dark Mode

Default and custom roles allow admins to manage unique permissions for users based on your organization and database requirements.

You can manage roles using the DataStax Astra DB user interface or the DevOps API.

Default Operational Roles

The default roles address four types of operational users and three levels of access.

This matrix show how the four types of operational users with each of the three levels of access:

UserAPI UserUser Service AccountAPI Service Account
AdminAdministrator UserAPI Administrator UserAdministrator Svc AcctAPI Administrator Svc Acct
Read OnlyRO UserAPI RO UserRO Svc AcctAPI RO Svc Acct
*Read/Write*R/W UserAPI R/W UserR/W Svc AcctAPI R/W Svc Acct

Service Account Roles are limited from listing users and databases. API Roles limit CQL access.

Default Special Roles

In addition to the operational roles, four special default roles exist:

  • *Organization Administrator:* Super User
  • *Database Administrator:* Full access to CRUD organizations and databases
  • *UI View Only:* Read only access to view organizations and databases
  • *Billing Admin:* Billing only access

Operational Roles Detail

User Roles

Role nameConsole nameDevOps API Parameters
Admin UserCreate All Keyspace, +Describe All Keyspaces, +Access GraphQL API, +Access CQL, +Alter Keyspace, +Authorize Keyspace, +Create Keyspace, +Describe Keyspace, +Drop Keyspace, +Grant Keyspace, +Modify Keyspace, +Manage Private Endpoint, +Manage Region, +Access REST, +Alter Table, +Authorize Table, +Create Table, +Describe Table, +Drop Table, +Grant Table, +Modify Table, +Select Table, +Read Billing, +Write Billing, +Add Peering, +Create DB, +Expand DB, +Manage Migrator Proxy, +Reset Password, +Suspend DB, +Terminate DB, +View DB, +Read Organization, +Read User, +Write Userdb-all-keyspace-create, +db-all-keyspace-describe, +db-graphql, +db-cql, +db-keyspace-alter, +db-keyspace-authorize, +db-keyspace-create, +db-keyspace-describe, +db-keyspace-drop, +db-keyspace-grant, +db-keyspace-modify, +db-manage-privateendpoint, +db-manage-region, +db-rest, +db-table-alter, +db-table-authorize, +db-table-create, +db-table-describe, +db-table-drop, +db-table-grant, +db-table-modify, +db-table-select, +org-billing-read, +org-billing-write, +org-db-addpeering, +org-db-create, +org-db-expand, +org-db-managemigratorproxy, +org-db-passwordreset, +org-db-suspend, +org-db-terminate, +org-db-view, +org-read, +org-user-read, +org-user-write
RO UserRead IP Access List, +Describe All Keyspaces, +Access GraphQL API, +Access CQL, +Describe Keyspace, +Access REST, +Describe Table, +Select Table, +View DB, +Read Useraccesslist-read, +db-all-keyspace-describe, +db-graphql, +db-cql, +db-keyspace-describe, +db-rest, +db-table-describe, +db-table-select, +org-db-view, +org-user-read
R/W UserRead IP Access List, +Describe All Keyspaces, +Access GraphQL API, +Access CQL, +Describe Keyspace, +Access REST, +Describe Table, +Modify Table, +Select Table, +View DB, +Read Useraccesslist-read, +db-all-keyspace-describe, +db-graphql, +db-cql, +db-keyspace-describe, +db-rest, +db-table-describe, +db-table-modify, +db-table-select, +org-db-view, +org-user-read

API User Roles

Role nameConsole nameDevOps API Parameters
API Admin UserRead IP Access List, +Create All Keyspace, +Describe All Keyspaces, +Access GraphQL API, +Alter Keyspace, +Authorize Keyspace, +Create Keyspace, +Describe Keyspace, +Drop Keyspace, +Grant Keyspace, +Modify Keyspace, +Manage Private Endpoint, +Manage Region, +Access REST, +Alter Table, +Authorize Table, +Create Table, +Describe Table, +Drop Table, +Grant Table, +Modify Table, +Select Table, +Read Billing, +Write Billing, +Add Peering, +Create DB, +Expand DB, +Manage Migrator Proxy, +Reset Password, +Suspend DB, +Terminate DB, +View DB, +Read User, +Write Useraccesslist-read, +db-all-keyspace-create, +db-all-keyspace-describe, +db-graphql, +db-keyspace-alter, +db-keyspace-authorize, +db-keyspace-create, +db-keyspace-describe, +db-keyspace-drop, +db-keyspace-grant, +db-keyspace-modify, +db-manage-privateendpoint, +db-manage-region, +db-rest, +db-table-alter, +db-table-authorize, +db-table-create, +db-table-describe, +db-table-drop, +db-table-grant, +db-table-modify, +db-table-select, +org-billing-read, +org-billing-write, +org-db-addpeering, +org-db-create, +org-db-expand, +org-db-managemigratorproxy, +org-db-passwordreset, +org-db-suspend, +org-db-terminate, +org-db-view, +org-user-read, +org-user-write
API RO UserRead IP Access List, +Describe All Keyspaces, +Access GraphQL API, +Describe Keyspace, +Access REST, +Describe Table, +Select Table, +View DB, +Read Useraccesslist-read, +db-all-keyspace-describe, +db-graphql, +db-keyspace-describe, +db-rest, +db-table-describe, +db-table-select, +org-db-view, +org-user-read
API R/W UserRead IP Access List, +Describe All Keyspaces, +Access GraphQL API, +Describe Keyspace, +Access REST, +Describe Table, +Modify Table, +Select Table, +View DB, +Read Useraccesslist-read, +db-all-keyspace-describe, +db-graphql, +db-keyspace-describe, +db-rest, +db-table-describe, +db-table-modify, +db-table-select, +org-db-view, +org-user-read

User Service Account Roles

Role nameConsole nameDevOps API Parameters
Admin Svc AcctCreate All Keyspace, +Describe All Keyspaces, +Access GraphQL API, +Access CQL, +Alter Keyspace, +Authorize Keyspace, +Create Keyspace, +Describe Keyspace, +Drop Keyspace, +Grant Keyspace, +Modify Keyspace, +Manage Private Endpoint, +Manage Region, +Access REST, +Alter Table, +Authorize Table, +Create Table, +Describe Table, +Drop Table, +Grant Table, +Modify Table, +Select Table, +Read Billing, +Write Billing, +Add Peering, +Create DB, +Expand DB, +Manage Migrator Proxy, +Reset Password, +Suspend DB, +Terminate DB, +View DB, +Read User, +Write Userdb-all-keyspace-create, +db-all-keyspace-describe, +db-graphql, +db-cql, +db-keyspace-alter, +db-keyspace-authorize, +db-keyspace-create, +db-keyspace-describe, +db-keyspace-drop, +db-keyspace-grant, +db-keyspace-modify, +db-manage-privateendpoint, +db-manage-region, +db-rest, +db-table-alter, +db-table-authorize, +db-table-create, +db-table-describe, +db-table-drop, +db-table-grant, +db-table-modify, +db-table-select, +org-billing-read, +org-billing-write, +org-db-addpeering, +org-db-create, +org-db-expand, +org-db-managemigratorproxy, +org-db-passwordreset, +org-db-suspend, +org-db-terminate, +org-db-view, +org-user-read, +org-user-write
RO Svc AcctRead IP Access List, +Describe All Keyspaces, +Access GraphQL API, +Access CQL, +Describe Keyspace, +Access REST, +Describe Table, +Select Tableaccesslist-read, +db-all-keyspace-describe, +db-graphql, +db-cql, +db-keyspace-describe, +db-rest, +db-table-describe, +db-table-select
R/W Svc AcctRead IP Access List, +Describe All Keyspaces, +Access GraphQL API, +Access CQL, +Describe Keyspace, +Access REST, +Describe Table, +Modify Table, +Select Tableaccesslist-read, +db-all-keyspace-describe, +db-graphql, +db-cql, +db-keyspace-describe, +db-rest, +db-table-describe, +db-table-modify, +db-table-select

API Service Account Roles

Role nameConsole nameDevOps API Parameters
API Admin Svc AcctCreate All Keyspace, +Describe All Keyspaces, +Access GraphQL API, +Access CQL, +Alter Keyspace, +Authorize Keyspace, +Create Keyspace, +Describe Keyspace, +Drop Keyspace, +Grant Keyspace, +Modify Keyspace, +Manage Private Endpoint, +Manage Region, +Access REST, +Alter Table, +Authorize Table, +Create Table, +Describe Table, +Drop Table, +Grant Table, +Modify Table, +Select Table, +Read Billing, +Write Billing, +Add Peering, +Create DB, +Expand DB, +Manage Migrator Proxy, +Reset Password, +Suspend DB, +Terminate DB, +View DB, +Read User, +Write Userdb-all-keyspace-create, +db-all-keyspace-describe, +db-graphql, +db-cql, +db-keyspace-alter, +db-keyspace-authorize, +db-keyspace-create, +db-keyspace-describe, +db-keyspace-drop, +db-keyspace-grant, +db-keyspace-modify, +db-manage-privateendpoint, +db-manage-region, +db-rest, +db-table-alter, +db-table-authorize, +db-table-create, +db-table-describe, +db-table-drop, +db-table-grant, +db-table-modify, +db-table-select, +org-billing-read, +org-billing-write, +org-db-addpeering, +org-db-create, +org-db-expand, +org-db-managemigratorproxy, +org-db-passwordreset, +org-db-suspend, +org-db-terminate, +org-db-view, +org-user-read, +org-user-write
API RO Svc AcctRead IP Access List, +Describe All Keyspaces, +Access GraphQL API, +Describe Keyspace, +Access REST, +Describe Table, +Select Tableaccesslist-read, +db-all-keyspace-describe, +db-graphql, +db-keyspace-describe, +db-rest, +db-table-describe, +db-table-select
API R/W Svc AcctRead IP Access List, +Describe All Keyspaces, +Access GraphQL API, +Describe Keyspace, +Access REST, +Describe Table, +Modify Table, +Select Tableaccesslist-read, +db-all-keyspace-describe, +db-graphql, +db-keyspace-describe, +db-rest, +db-table-describe, +db-table-modify, +db-table-select

Special Roles Detail

Billing Admin

The Billing Admin role provides only access to view the billing information for Astra DB services. This role has no management capabilities nor access to data.

Console nameDevOps API Parameters
Read Billing, +Write Billing, +View DB, +Read Userorg-billing-read, +org-billing-write, +org-db-view, +org-user-read

Database Administrator

The Database Administrator role is designed to effectively manage organizations and the databases using CRUD. This role does not have the ability to view billing, mange role-based access control (RBAC), or manage users.

Console nameDevOps API Parameters
Read IP Access List, +Write IP Access List, +Create All Keyspace, +Describe All Keyspaces, +Access GraphQL API, +Access CQL, +Alter Keyspace, +Authorize Keyspace, +Create Keyspace, +Describe Keyspace, +Drop Keyspace, +Grant Keyspace, +Modify Keyspace, +Manage Private Endpoint, +Manage Region, +Access REST, +Alter Table, +Authorize Table, +Create Table, +Describe Table, +Drop Table, +Grant Table, +Modify Table, +Select Table, +Add Peering, +Create DB, +Expand DB, +Manage Migrator Proxy, +Reset Password, +Suspend DB, +Terminate DB, +View DB, +Read Token, +Write Token, +Read Useraccesslist-read, +accesslist-write, +db-all-keyspace-create, +db-all-keyspace-describe, +db-graphql, +db-cql, +db-keyspace-alter, +db-keyspace-authorize, +db-keyspace-create, +db-keyspace-describe, +db-keyspace-drop, +db-keyspace-grant, +db-keyspace-modify, +db-manage-privateendpoint, +db-manage-region, +db-rest, +db-table-alter, +db-table-authorize, +db-table-create, +db-table-describe, +db-table-drop, +db-table-grant, +db-table-modify, +db-table-select, +org-db-addpeering, +org-db-create, +org-db-expand, +org-db-managemigratorproxy, +org-db-passwordreset, +org-db-suspend, +org-db-terminate, +org-db-view, +org-token-read, +org-token-write, +org-user-read

Organization Administrator

The Organization Administrator role is the most permissive default role.

Console nameDevOps API Parameters
Read IP Access List, +Write IP Access List, +Create All Keyspace, +Describe All Keyspaces, +Access GraphQL API, +Access CQL, +Alter Keyspace, +Authorize Keyspace, +Create Keyspace, +Describe Keyspace, +Drop Keyspace, +Grant Keyspace, +Modify Keyspace, +Manage Private Endpoint, +Manage Region, +Access REST, +Alter Table, +Authorize Table, +Create Table, +Describe Table, +Drop Table, +Grant Table, +Modify Table, +Select Table, +Read Audits, +Read Billing, +Write Billing, +Add Peering, +Create DB, +Expand DB, +Manage Migrator Proxy, +Reset Password, +Suspend DB, +Terminate DB, +View DB, +Read External Auth, +Write External Auth, +Notification Write, +Read Organization, +Delete Custom Role, +Read Custom Role, +Write Custom Role, +Read Token, +Write Token, +Read User, +Write User, +Write Organizationaccesslist-read, +accesslist-write, +db-all-keyspace-create, +db-all-keyspace-describe, +db-graphql, +db-cql, +db-keyspace-alter, +db-keyspace-authorize, +db-keyspace-create, +db-keyspace-describe, +db-keyspace-drop, +db-keyspace-grant, +db-keyspace-modify, +db-manage-privateendpoint, +db-manage-region, +db-rest, +db-table-alter, +db-table-authorize, +db-table-create, +db-table-describe, +db-table-drop, +db-table-grant, +db-table-modify, +db-table-select, +org-audits-read, +org-billing-read, +org-billing-write, +org-db-addpeering, +org-db-create, +org-db-expand, +org-db-managemigratorproxy, +org-db-passwordreset, +org-db-suspend, +org-db-terminate, +org-db-view, +org-external-auth-read, +org-external-auth-write, +org-notification-write, +org-read, +org-role-delete, +org-role-read, +org-role-write, +org-token-read, +org-token-write, +org-user-read, +org-user-write, +org-write

UI View Only

The UI View Only role is a highly limited role that is only able to list users, databases, and access lists.

Console nameDevOps API Parameters
Read IP Access List, +View DB, +Read Useraccesslist-read, +org-db-view, +org-user-read

The tables below contain detailed descriptions of each of the permissions available in Astra DB and can be used to get more detail on the permissions assigned to the roles above.

Organization permissions

Console nameDescriptionDevOps API parameter
View DBSee a database in a list of databases or the Astra DB console.org-db-view
Create DBCreate a database using the DevOps API or the Astra DB console.org-db-create
Terminate DBPermanently delete a database and all of of its data using the DevOps API or the Astra DB console.org-db-terminate
Expand DBClassic only: Resize a database using the DevOps API or the Astra DB console to add more capacity units.org-db-expand
Reset PasswordReset the password for a classic database.org-db-passwordreset
Manage Migrator ProxyAdd and remove the migrator proxy from a db.org-db-managemigratorproxy
Read AuditsEnables read and download audits.org-audits-read
Write BillingEnables links and ability to add or edit billing payment info.org-billing-write
Write IP Access ListCreate or modify an access list using the DevOps API or the Astra DB console.accesslist-write
Manage RegionAdd, create, or remove a region using the DevOps API or the Astra DB console.db-manage-region
Write UserAdd, create, or remove a user using the DevOps API or the Astra DB console.org-user-write
Write OrganizationCreate new organizations or delete an existing organization. Hides manage org and org settings.org-write
Write Custom RoleCreate custom role.org-role-write
Write External AuthUpdate security settings related to external auth providers.org-external-auth-write
Write TokenCreate application token.org-token-write
Read BillingEnables links and access to billing details page.org-billing-read
Read IP Access ListEnables links and access to acess list page.accesslist-read
Read UserAccess to viewing users of an organization.org-user-read
Read OrganizationView organization in the Astra DB console.org-read
Read Custom RoleSee a custom role and its associated permissions.org-role-read
Read External AuthSee security settings related to external authentication providers.org-external-auth-read
Read TokenRead token details.org-token-read
Delete Custom RoleDelete of custom role.org-role-delete
Add PeeringCreate of VPC peering connection.org-db-addpeering
Notification WriteEnable or disable notifications in organization notification settings.org-notification-write
Suspend DBPark/unpark classic databases and suspend/unsuspend serverless databases.org-db-suspend

Keyspace permissions

Console nameDescriptionDevOps API parameter
Alter KeyspaceMake changes to a specified keyspace.db-keyspace-alter
Describe KeyspaceGet a list of tables within a specified keyspace.db-keyspace-describe
Modify KeyspaceAccess or modify a keyspace.db-keyspace-modify
Authorize KeyspaceGive access to specified keyspace.db-keyspace-authorize
Drop KeyspaceRemove keyspace. Available in only the Astra DB console.db-keyspace-drop
Create KeyspaceCreate keyspace. Available in only the Astra DB console.db-keyspace-create
Grant KeyspaceGrant specific permissions for specified keyspace.db-keyspace-grant

API access permissions

Console nameDescriptionDevOps API parameter
Access GraphQL APIConnect to database via GraphQL API.db-graphql
Access RESTConnect to database via REST API.db-rest
Access CQLConnect to database via CQL.db-cql

Which role should I assign a user?

Database Access MethodRoles
Astra User Interface access Organization Administrator Database Administrator Billing Administrator UI View Only Developer Administrator Developer Read/Write Developer Read Only Administrator Service Account* Read/Write Service Account* Read Only Service Account
GraphQL, REST, and Document API access based on database access permissions Organization Administrator Database Administrator Billing Administrator UI View Only Administrator User Read/Write User Read Only User Administrator Service Account* Read/Write Service Account Read Only Service Account API Administrator User* API Read/Write User API Read Only User API Administrator Service Account* API Read/Write Service Account* API Read Only Service Account
Data Loader access based on database access permissions Administrator User Read/Write User Read Only User Administrator Service Account* Read/Write Service Account* Read Only Service Account
dsbulk access based on database access permissions* Read/Write Service Account* Read Only Service Account
DevOps API access based on database access permissions Organization Administrator Database Administrator
Drivers based on database access permissions Administrator User Read/Write User Read Only User Administrator Service Account* Read/Write Service Account* Read Only Service Account
Manage access list for IP addresses and CIDR Organization Administrator Database Administrator