diff --git a/versioned_docs/version-3.15/permissions.mdx b/versioned_docs/version-3.15/permissions.mdx deleted file mode 100644 index 1af59f00..00000000 --- a/versioned_docs/version-3.15/permissions.mdx +++ /dev/null @@ -1,63 +0,0 @@ ---- -tags: - - Community - - Enterprise Standard - - Enterprise Premium -displayed_sidebar: docsEnglish ---- - -# Permission Requirements - -import Tabs from '@theme/Tabs'; -import TabItem from '@theme/TabItem'; - -This page describes the required permissions for using ScalarDB with its [supported databases](requirements.mdx#databases). - -## Cassandra - -ScalarDB requires the following actions to be granted to the Cassandra role that ScalarDB uses to access Cassandra: - - - - - - `CREATE` - - `DROP` - - `ALTER` - - `SELECT` - - `MODIFY` - - - - - - `CREATE` - - `DROP` - - `ALTER` - - `SELECT` - - `MODIFY` - - - - -## DynamoDB - -ScalarDB requires the following actions to be granted to the AWS IAM user that ScalarDB uses to access DynamoDB: - -- `dynamodb:ConditionCheckItem` -- `dynamodb:PutItem` -- `dynamodb:ListTables` -- `dynamodb:DeleteItem` -- `dynamodb:Scan` -- `dynamodb:Query` -- `dynamodb:UpdateItem` -- `dynamodb:DeleteTable` -- `dynamodb:UpdateContinuousBackups` -- `dynamodb:CreateTable` -- `dynamodb:DescribeTable` -- `dynamodb:GetItem` -- `dynamodb:DescribeContinuousBackups` -- `dynamodb:UpdateTable` -- `application-autoscaling:RegisterScalableTarget` -- `application-autoscaling:DeleteScalingPolicy` -- `application-autoscaling:PutScalingPolicy` -- `application-autoscaling:DeregisterScalableTarget` -- `application-autoscaling:TagResource` diff --git a/versioned_docs/version-3.15/requirements.mdx b/versioned_docs/version-3.15/requirements.mdx index 838b9715..9a0820d1 100644 --- a/versioned_docs/version-3.15/requirements.mdx +++ b/versioned_docs/version-3.15/requirements.mdx @@ -240,6 +240,211 @@ For details on how to configure each database, see [Configurations for the Under ::: +### Permission requirements + +This section describes the required permissions for using ScalarDB with its supported databases. + +#### Oracle Database + +ScalarDB requires the following actions to be granted to the Oracle Database user that ScalarDB uses to access Oracle Database: + + + + - `CREATE SESSION` + - `CREATE USER` + - `DROP USER` + - `ALTER USER` + - `CREATE ANY TABLE` + - `DROP ANY TABLE` + - `CREATE ANY INDEX` + - `DROP ANY INDEX` + - `ALTER ANY TABLE` + - `SELECT ANY TABLE` + - `INSERT ANY TABLE` + - `UPDATE ANY TABLE` + - `DELETE ANY TABLE` + + + - `CREATE SESSION` + - `CREATE USER` + - `DROP USER` + - `ALTER USER` + - `CREATE ANY TABLE` + - `DROP ANY TABLE` + - `CREATE ANY INDEX` + - `DROP ANY INDEX` + - `ALTER ANY TABLE` + - `SELECT ANY TABLE` + - `INSERT ANY TABLE` + - `UPDATE ANY TABLE` + - `DELETE ANY TABLE` + + + - `CREATE SESSION` + - `CREATE USER` + - `DROP USER` + - `ALTER USER` + - `CREATE ANY TABLE` + - `DROP ANY TABLE` + - `CREATE ANY INDEX` + - `DROP ANY INDEX` + - `ALTER ANY TABLE` + - `SELECT ANY TABLE` + - `INSERT ANY TABLE` + - `UPDATE ANY TABLE` + - `DELETE ANY TABLE` + + + +#### MySQL + +ScalarDB requires the following privileges to be granted to the MySQL user that ScalarDB uses to access MySQL: + + + + - `CREATE` + - `DROP` + - `INDEX` + - `ALTER` + - `SELECT` + - `INSERT` + - `UPDATE` + - `DELETE` + + + - `CREATE` + - `DROP` + - `INDEX` + - `ALTER` + - `SELECT` + - `INSERT` + - `UPDATE` + - `DELETE` + + + +#### PostgreSQL + +ScalarDB requires the following PostgreSQL database role to be granted to the PostgreSQL role that ScalarDB uses to access PostgreSQL: + + + + - `SUPERUSER` + + + - `SUPERUSER` + + + - `SUPERUSER` + + + - `SUPERUSER` + + + - `SUPERUSER` + + + +#### MariaDB + +ScalarDB requires the following privileges to be granted to the MariaDB user that ScalarDB uses to access MariaDB: + + + + - `CREATE` + - `DROP` + - `INDEX` + - `ALTER` + - `SELECT` + - `INSERT` + - `UPDATE` + - `DELETE` + + + - `CREATE` + - `DROP` + - `INDEX` + - `ALTER` + - `SELECT` + - `INSERT` + - `UPDATE` + - `DELETE` + + + +#### SQL Server + +ScalarDB requires the following database roles to be granted to the SQL Server user that ScalarDB uses to access SQL Server: + + + + - `db_ddladmin` + - `db_datareader` + - `db_datawriter` + + + - `db_ddladmin` + - `db_datareader` + - `db_datawriter` + + + - `db_ddladmin` + - `db_datareader` + - `db_datawriter` + + + +#### YugabyteDB + +ScalarDB requires the following YugabyteDB database role to be granted to the YugabyteDB role that ScalarDB uses to access YugabyteDB: + +- `SUPERUSER` + +#### Amazon DynamoDB + +ScalarDB requires the following actions to be granted to the AWS IAM user that ScalarDB uses to access DynamoDB: + +- `dynamodb:ConditionCheckItem` +- `dynamodb:PutItem` +- `dynamodb:ListTables` +- `dynamodb:DeleteItem` +- `dynamodb:Scan` +- `dynamodb:Query` +- `dynamodb:UpdateItem` +- `dynamodb:DeleteTable` +- `dynamodb:UpdateContinuousBackups` +- `dynamodb:CreateTable` +- `dynamodb:DescribeTable` +- `dynamodb:GetItem` +- `dynamodb:DescribeContinuousBackups` +- `dynamodb:UpdateTable` +- `application-autoscaling:RegisterScalableTarget` +- `application-autoscaling:DeleteScalingPolicy` +- `application-autoscaling:PutScalingPolicy` +- `application-autoscaling:DeregisterScalableTarget` +- `application-autoscaling:TagResource` + +#### Apache Cassandra + +ScalarDB requires the following actions to be granted to the Cassandra role that ScalarDB uses to access Cassandra: + + + + - `CREATE` + - `DROP` + - `ALTER` + - `SELECT` + - `MODIFY` + + + - `CREATE` + - `DROP` + - `ALTER` + - `SELECT` + - `MODIFY` + + + ## Kubernetes ScalarDB is provided as a Pod on the Kubernetes platform in production environments. ScalarDB supports the following platforms and tools. diff --git a/versioned_sidebars/version-3.15-sidebars.json b/versioned_sidebars/version-3.15-sidebars.json index aca518e9..0f0dacb1 100644 --- a/versioned_sidebars/version-3.15-sidebars.json +++ b/versioned_sidebars/version-3.15-sidebars.json @@ -29,11 +29,6 @@ "id": "glossary", "label": "Glossary" }, - { - "type": "doc", - "id": "permissions", - "label": "Permission Requirements" - }, { "type": "doc", "id": "requirements", @@ -962,11 +957,6 @@ "id": "requirements", "label": "要件" }, - { - "type": "doc", - "id": "permissions", - "label": "権限要件" - }, { "type": "doc", "id": "database-configurations",