Peran dan izin IAM untuk Integration Connectors
Peran bawaan memberikan akses terperinci ke resource Google Cloud tertentu. Peran ini dibuat dan dikelola oleh Google. Google memperbarui izinnya secara otomatis jika diperlukan, seperti saat Google Cloud menambahkan fitur atau layanan yang baru.
Tabel berikut mencantumkan semua peran IAM yang telah ditetapkan untuk Integration Connectors:| Role | Permissions |
|---|---|
Connector Admin( Full access to all resources of Connectors Service. |
|
Connectors Editor( Editor role for connectors |
|
Connectors Viewer( Read-only access to Connectors all resources. |
|
Custom Connectors Admin( Custom Connector is a global resource which creates custom connector within the given target project. This role grants Admin access to Custom Connector resources |
|
Custom Connector Viewer( Custom Connector is a global resource which creates custom connector within the given target project. This role grants Read-only access to Custom Connector & Custom Connector Version resources. |
|
Connectors Endpoint Attachment Admin( Endpoint Attachment is a regional resource which creates PSC connection endpoint for the given PSC Service Attachment. This role grants Admin access to Connectors Endpoint Attachment resources. |
|
Connectors Endpoint Attachment Viewer( Endpoint Attachment is a regional resource which creates PSC connection endpoint for the given PSC Service Attachment. This role grants Read-only access to Connectors Endpoint Attachment resources |
|
Connectors Event Subscriptions Admin( Event Subscription is a regional resource which creates subscriptions on events for a given connection within the given target project. This role grants Admin access to Connectors Subscription resources |
|
Connectors Event Subscriptions Viewer( Event Subscription is a regional resource which creates subscriptions on events for a given connection within the given target project. This role grants Read-only access to Event Subscription resources. |
|
Connector Invoker( Full Access to invoke all operations on Connections. |
|
Connector Event Listener( Full Access to listen events by connections. |
|
Connectors Managed Zone Admin( Managed Zone is a global resource which creates Cloud DNS Peering Zone with the given target project. This role grants Admin access to Connectors Managed Zone resources |
|
Connectors Managed Zone Viewer( Managed Zone is a global resource which creates Cloud DNS Peering Zone with the given target project. This role grants Read-only access to Connectors Managed Zone resources. |
|
Service agent roles
Service agent roles should only be granted to service agents.
| Role | Permissions |
|---|---|
Connectors Platform Service Agent( Grants Connectors Platform service account to manage customer resources |
|
Untuk mengetahui informasi selengkapnya tentang peran yang telah ditetapkan, lihat Peran dan izin. Untuk mendapatkan bantuan dalam memilih peran bawaan yang paling sesuai, lihat Memilih peran bawaan.
Izin untuk akun layanan koneksi
Koneksi berjalan sebagai akun layanan yang Anda tentukan saat membuat koneksi.
Untuk membuat atau memperbarui koneksi, akun utama yang membuat permintaan harus memiliki izin iam.serviceAccounts.actAs di akun layanan koneksi. Akun utama adalah pengguna atau akun layanan
yang memanggil Integration Connectors (misalnya, dari konsol Google Cloud , Terraform, atau API). Persyaratan ini berlaku untuk setiap
koneksi, apa pun jenis autentikasinya.
Untuk memberikan izin ini, tetapkan peran Service Account User (roles/iam.serviceAccountUser) kepada akun utama di akun layanan koneksi.
Untuk mengetahui informasi selengkapnya, lihat
Mengelola akses ke akun layanan
dan Peran untuk autentikasi akun layanan.
Jika akun utama tidak memiliki izin, permintaan akan gagal dengan
error FAILED_PRECONDITION dengan jenis pelanggaran prasyarat
SERVICE_ACCOUNT_PERMISSION_DENIED, dan koneksi tidak akan
dibuat atau diperbarui. Koneksi yang ada akan terus berjalan.