This section describes access at the most basic level.
Read more about Getting Your API Keys.
Database Access features are only visible by accounts without Policy-based Database Permissions. Contact your Customer Success Representative for more information.
The following table lists actions that can be performed through the TD Console or the REST APIs. Some actions might not be available at the REST API level and some other actions (for example, Data Import) are not available within TD Console.
| Action | Owner | Admin | Full Access | Query only | Import only |
|---|---|---|---|---|---|
| Add User | OK | OK | |||
| Manage User | OK | OK (1) | |||
| Delete User | OK | OK (1) | |||
| List Databases | OK | OK | OK | OK | OK |
| Create Database | OK | OK | n/a (2) | n/a (2) | n/a (2) |
| Manage Database | OK | OK | OK (2) | OK (2) | OK (2) |
| Delete Database | OK | OK | OK (2) | OK (2) | OK (2) |
| Show Table | OK | OK | OK | OK | OK |
| List Tables | OK | OK | OK | OK | |
| Create Table | OK | OK | OK | OK | |
| Delete Table | OK | OK | OK | ||
| Data Import (td-agent) | OK | OK | OK | OK | |
| Data Import (Result Output to TD) | OK | OK | OK | OK | |
| Data Import (Bulk Import) | OK | OK | OK | OK | |
| Data Import (embulk-output-td) | OK | OK | OK | ||
| Data Import (Data Connector) | OK | OK | OK | OK | |
| Data Import (FileUploader v2) | OK | OK | OK | OK | |
| Data Import (Insert Into) | OK | OK | OK | (3) | |
| Delete Data | OK | OK | OK | ||
| Issue Query | OK | OK | OK | OK | |
| Kill Own Query | OK | OK | OK | OK | |
| Kill Query from Others | OK | OK | OK | (4) | |
| Export Table | OK | OK | OK | OK |
Notes:
‘Administrator’ users can only ‘Manage User’ and ‘Delete User’ for ‘Restricted’ users but are not allowed to manage and delete other Administrators user or the account ‘Owner’.
The ‘Manage User’ permission includes granting or revoking the ‘Administrator’ role – therefore an ‘Administrator’ user can promote a user to ‘Administrator’ but cannot demote a user from ‘Administrator’ to ‘Restricted’ user.Any user (including Restricted ones) can create a new database and they will ‘own’ and have all permissions for it. ‘Full Access’, ‘Query-only’, and ‘Import-only’ actions for ‘Create Database’ don’t apply in that case. ‘Restricted’ users can only ‘Delete’ and ‘Manage’ databases they created (and therefore own). ‘Administrators’ and ‘Owner’ can always manage databases.
While the end-goal of INSERT INTO is to write the result back into a table, it requires special permissions. The executing user must possess read (‘Query-only’, ‘Full Access’, ‘Admin’, or ‘Owner’) permissions for all the databases accessed by the query as well as read and write permission (‘Full Access’, ‘Admin’, or ‘Owner’) to the database the result is inserted into the query will fail otherwise.
Restricted users with ‘Query-only permission can see all the jobs running on the database they have 'Query-only’ permissions for but will not be able to kill a job unless it’s their own.
| Action | Owner | Admin | Full Access | Query only | Import only |
|---|---|---|---|---|---|
| Add User | |||||
| Manage User | |||||
| Delete User | |||||
| List Databases | |||||
| Create Database | OK | OK | n/a (1) | n/a (1) | n/a (1) |
| Manage Database | |||||
| Delete Database | |||||
| List Tables | |||||
| Create Table | OK | OK | OK | OK | |
| Delete Table | |||||
| Data Import (td-agent) | OK | OK | OK | OK | |
| Data Import (Result Output to TD) | OK | OK | OK | OK | |
| Data Import (Bulk Import) | (2) | (2) | (2) | (2) | |
| Data Import (embulk-output-td) | (2) | (2) | (2) | ||
| Data Import (Data Connector) | (2) | (2) | (2) | (2) | |
| Data Import (Insert Into) | (3) | (3) | (3) | (3) | (3) |
| Issue Query | |||||
| Kill Own Query | |||||
| Kill Query from Others | |||||
| Export Table |
Notes:
Any user (including Restricted ones) can NOT create a new database and they will ‘own’ and have all permissions for it. ‘Full Access’, ‘Query-only’, and ‘Import-only’ permissions for ‘Create Database’ don’t apply in that case. ‘Restricted’ users can only ‘Delete’ and ‘Manage’ databases they created (and therefore own). ‘Administrators’ and ‘Owner’ can always manage databases.
Bulk Import require the ability to check the status of a job, and this is not possible using a Write-only key.
INSERT INTO requires the ability to execute a query, which is not allowed using a Write-only key.