Integration mit Identity and Access Management
Der Zugriff auf IBM Cloud® Databases-Serviceinstanzen für Benutzer in Ihrem Konto wird über IBM Cloud Identity and Access Management (IAM) gesteuert.
Dieses Dokument behandelt die Integration von IAM mit Cloud Databases: Databases for PostgreSQL, Databases for MongoDB, Databases for Redis, Databases for Elasticsearch, IBM Cloud® Databases for MySQL, und Messages for RabbitMQ.
IAM ist nur in den Zugriff auf hochrangige Dienste integriert, der die in der Cloud Databases API und dem Cloud Databases CLI-Plug-in verfügbaren Berechtigungen und Vorgänge regelt. Benutzer und Berechtigungen auf Datenbankebene werden nicht reguliert. Der Datenbankzugriff wird durch die standardmäßigen Kontrollmechanismen für den Zugriff reguliert, die von der Datenbank eingerichtet werden. IAM steuert keine Datenbankbenutzer.
Weitere Informationen zur Zuweisung von Benutzerrollen in IBM Cloud finden Sie in IAM-Zugriff verwalten.
Die folgende Tabelle enthält eine allgemeine Übersicht über Aktionen, die Service-Management-Rollen zugeordnet sind. Service-Management-Rollen ermöglichen es Benutzern, Tasks für Serviceressourcen auf Service-Level auszuführen. Weisen Sie beispielsweise Benutzerzugriff für den Service zu, erstellen oder löschen Sie Service-IDs, erstellen Sie Instanzen und binden Sie Instanzen an Anwendungen.
| Service-Management-Rolle | Beschreibung der Aktionen | Beispielaktionen |
|---|---|---|
| Anzeigeberechtigter | Als Anzeigeberechtigter können Sie Datenbankinstanzen anzeigen, Sie können jedoch keine Konfigurationsanderungen vornehmen. | Serviceübersicht anzeigen und Warnmeldungen anzeigen. |
| Operator | Als Operator können Sie Datenbankinstanzen anzeigen und Konfigurationsänderungen ausführen, zu denen das Verwalten der Datenbankberechtigungsnachweise gehört. | Skalieren Sie eine Bereitstellung und ändern Sie das Passwort einer Bereitstellung. |
| Bearbeiter | Als Editor können Sie alle Plattformaktionen ausführen (einschließlich des Änderns der Konfiguration und des Verwaltens von Berechtigungsnachweisen) mit Ausnahme der Kontoverwaltung und der Zuordnung von Zugriffsrichtlinien. | Skalieren Sie eine Bereitstellung und ändern Sie das Passwort einer Bereitstellung. |
| Administrator | Als Administrator können Sie alle Plattformaktionen ausführen und Sie können auch anderen Benutzern Zugriffsrichtlinien zuweisen. | Skalieren Sie eine Bereitstellung, ändern Sie das Passwort einer Bereitstellung und weisen Sie Zugriffsrichtlinien zu. |
Aktionen für die Cloud Databases-API
Der Zugriff auf bestimmte API-Endpunkte und Anforderungen wird durch Rollen reguliert. Im Folgenden sind die Zugriffsrichtlinien für die einzelnen Rollen in IBM Cloud® Databases aufgelistet.
Anzeigeberechtigter
Die zulässigen Aktionen für die Rolle des Anzeigeberechtigten.
GET /v5/ibm/deployables
Read Deployables
---
GET /v5/ibm/regions
Read Discover available regions
---
GET /v5/ibm/tasks/:task_id
Read a Task
---
GET /v5/ibm/backups/:backup_id
Read a Backup
---
GET /v5/ibm/deployments/:deployment_id
Read a Deployment
---
GET /v5/ibm/deployables/:deployable_id/groups
Read deployable group
---
GET /v5/ibm/deployments/:deployment_id/point_in_time_recovery_data
Read all deployment point-in-time-recovery data
---
GET /v5/ibm/deployments/:deployment_id/tasks
Read all deployment tasks
---
GET /v5/ibm/deployments/:deployment_id/backups
Read all deployment backups
---
GET /v5/ibm/deployments/:deployment_id/remotes
Read all deployment remotes
---
GET /v5/ibm/deployables/:deployable_id/groups
Read all deployment groups
---
GET /v5/ibm/deployments/:deployment_id/configuration/schema
Read deployment configuration schema
---
GET /v5/ibm/deployments/:deployment_id/users/:user_type/:user_id/connections/:endpoint_type
Read deployment user connections
---
POST /v5/ibm/deployments/:deployment_id/users/:user_type/:user_id/connections/:endpoint_type
Create deployment user connections
---
GET /v5/ibm/deployments/:deployment_id/allowlists/ip_addresses
Read Allowlisted IP Addresses
Operator und Editor
Die Rollen 'Operator' und 'Editor' haben in Cloud Databases denselben Funktionsumfang. Die folgende Liste enthält Aktionen für die Rollen 'Operator' und 'Editor'.
GET /v5/ibm/deployables
Read Deployables
---
GET /v5/ibm/regions
Read Discover available regions
---
GET /v5/ibm/tasks/:task_id
Read a Task
---
GET /v5/ibm/backups/:backup_id
Read a Backup
---
GET /v5/ibm/deployments/:deployment_id
Read a Deployment
---
GET /v5/ibm/deployables/:deployable_id/groups
Read deployable group
---
GET /v5/ibm/deployments/:deployment_id/point_in_time_recovery_data
Read all deployment point-in-time-recovery data
---
GET /v5/ibm/deployments/:deployment_id/tasks
Read all deployment tasks
---
GET /v5/ibm/deployments/:deployment_id/backups
Read all deployment backups
---
POST /v5/ibm/deployments/:deployment_id/backups
Create an on-demand backup
---
GET /v5/ibm/deployments/:deployment_id/remotes
Read all deployment remotes
---
POST /v5/ibm/deployments/:deployment_id/remotes/resync
Resync remote replica
---
GET /v5/ibm/deployables/:deployable_id/groups
Read all deployment groups
---
PATCH /v5/ibm/deployments/:deployment_id/groups/:group_id
Set scaling values on a specified group.
---
DELETE /v5/ibm/deployments/:deployment_id/management/database_connections
Closes all the connections on a deployment. Available for PostgreSQL ONLY.
---
PATCH /v5/ibm/deployments/:deployment_id/configuration
Update deployment configuration
---
GET /v5/ibm/deployments/:deployment_id/configuration/schema
Read deployment configuration schema
---
POST /v5/ibm/deployments/:deployment_id/users/:user_type
Create a user based on user type
---
DELETE /v5/ibm/deployments/:deployment_id/users/:user_type/:user_id
Remove a user based on user type
---
GET /v5/ibm/deployments/:deployment_id/users/:user_type/:user_id/connections/:endpoint_type
Read deployment user connections
---
POST /v5/ibm/deployments/:deployment_id/users/:user_type/:user_id/connections/:endpoint_type
Create deployment user connections
---
GET /v5/ibm/deployments/:deployment_id/allowlists/ip_addresses
Read Allowlisted IP Addresses
---
POST /v5/ibm/deployments/:deployment_id/allowlists/ip_addresses
Create an Allowlisted IP Addresses
---
DELETE /v5/ibm/deployments/:deployment_id/allowlists/ip_addresses/:ip_address_id
Remove an Allowlisted IP Addresses
---
PUT /v5/ibm/deployments/:deployment_id/allowlists/ip_addresses
Bulk allowlist IP addresses
---
POST /v5/ibm/deployments/:deployment_id/elasticsearch/file_syncs
Create elasticsearch file sync
Administrator
Die zulässigen Aktionen für die Rolle des Administrators.
GET /v5/ibm/deployables
Read Deployables
---
GET /v5/ibm/regions
Read Discover available regions
---
GET /v5/ibm/tasks/:task_id
Read a Task
---
GET /v5/ibm/backups/:backup_id
Read a Backup
---
GET /v5/ibm/deployments/:deployment_id
Read a Deployment
---
GET /v5/ibm/deployables/:deployable_id/groups
Read deployable group
---
GET /v5/ibm/deployments/:deployment_id/point_in_time_recovery_data
Read all deployment point-in-time-recovery data
---
GET /v5/ibm/deployments/:deployment_id/tasks
Read all deployment tasks
---
GET /v5/ibm/backups/:backup_id
Read all deployment backups
---
POST /v5/ibm/deployments/:deployment_id/backups
Create an on-demand backup
---
GET /v5/ibm/deployments/:deployment_id/backups
Read all deployment remotes
---
POST /v5/ibm/deployments/:deployment_id/remotes/resync
Resync remote replica
---
GET /v5/ibm/deployables/:deployable_id/groups
Read all deployment groups
---
PATCH /v5/ibm/deployments/:deployment_id/groups/:group_id
Read deployment group
---
DELETE /v5/ibm/deployments/:deployment_id/management/database_connections
Kill all database connections
---
PATCH /v5/ibm/deployments/:deployment_id/configuration
Update deployment configuration
---
GET /v5/ibm/deployments/:deployment_id/configuration/schema
Read deployment configuration schema
---
POST /v5/ibm/deployments/:deployment_id/users/:user_type
Create a user based on user type
---
PATCH /v5/ibm/deployments/:deployment_id/users/:user_type/:user_id
Update a DeploymentUser
---
DELETE /v5/ibm/deployments/:deployment_id/users/:user_type/:user_id
Remove a user based on user type
---
GET /v5/ibm/deployments/:deployment_id/users/:user_type/:user_id/connections/:endpoint_type
Read deployment user connections
---
POST /v5/ibm/deployments/:deployment_id/users/:user_type/:user_id/connections/:endpoint_type
Create deployment user connections
---
GET /v5/ibm/deployments/:deployment_id/allowlists/ip_addresses
Read Allowlisted IP Addresses
---
POST /v5/ibm/deployments/:deployment_id/allowlists/ip_addresses
Create an Allowlisted IP Addresses
---
DELETE /v5/ibm/deployments/:deployment_id/allowlists/ip_addresses/:ip_address_id
Remove an Allowlisted IP Addresses
---
PUT /v5/ibm/deployments/:deployment_id/allowlists/ip_addresses
Bulk allowlist IP addresses
---
POST /v5/ibm/deployments/:deployment_id/elasticsearch/file_syncs
Create elasticsearch file sync