Mantieni tutto organizzato con le raccolte
Salva e classifica i contenuti in base alle tue preferenze.
Autopilot
Standard
Questa pagina descrive come concedere al servizio Backup per GKE le autorizzazioni per un Google Cloud
progetto, backup o ripristini.
Ruoli predefiniti
Backup per GKE ha i seguenti ruoli predefiniti:
Role
Titolo
Descrizione
Risorsa di livello inferiore
gkebackup.admin
Backup for GKE Admin
Accesso completo in lettura/scrittura a tutte le risorse di Backup per GKE
Progetto
gkebackup.backupAdmin
Backup for GKE Backup Admin
Crea e gestisce i piani di backup e i backup. Può delegare la creazione di backup manuali agli amministratori dei backup delegati.
Progetto
gkebackup.delegatedBackupAdmin
Backup for GKE Delegated Backup Admin
Crea e gestisce i backup all'interno di un piano di backup.
BackupPlan
gkebackup.viewer
Backup for GKE Viewer
Accesso in sola lettura a tutte le risorse di Backup per GKE
Progetto
gkebackup.restoreAdmin
Backup for GKE Restore Admin
Crea e gestisce i piani di ripristino e i ripristini. Può delegare la creazione del ripristino agli amministratori del ripristino delegato.
Progetto
gkebackup.delegatedRestoreAdmin
Backup for GKE Delegated Restore Admin
Crea e gestisce i ripristini all'interno di un piano di ripristino.
RestorePlan
Imposta le autorizzazioni a livello di progetto
Puoi concedere autorizzazioni Identity and Access Management per un intero progetto Google Cloud a un account
nella pagina IAM della console Google Cloud o utilizzando
Google Cloud CLI. L'aggiunta di autorizzazioni a livello di progetto concede le
autorizzazioni IAM a un account per i seguenti ruoli:
Backup for GKE Admin
Backup for GKE Backup Admin
Backup for GKE Viewer
Backup for GKE Restore Admin
gcloud
Per impostare le autorizzazioni, esegui questo comando:
[[["Facile da capire","easyToUnderstand","thumb-up"],["Il problema è stato risolto","solvedMyProblem","thumb-up"],["Altra","otherUp","thumb-up"]],[["Difficile da capire","hardToUnderstand","thumb-down"],["Informazioni o codice di esempio errati","incorrectInformationOrSampleCode","thumb-down"],["Mancano le informazioni o gli esempi di cui ho bisogno","missingTheInformationSamplesINeed","thumb-down"],["Problema di traduzione","translationIssue","thumb-down"],["Altra","otherDown","thumb-down"]],["Ultimo aggiornamento 2025-09-01 UTC."],[],[],null,["# IAM roles and permissions\n\nAutopilot Standard\n\n*** ** * ** ***\n\nThis page describes how to grant the Backup for GKE service permissions for a Google Cloud\nproject, backups, or restores.\n\nPredefined roles\n----------------\n\nBackup for GKE has the following predefined roles:\n\nSet project-level permissions\n-----------------------------\n\nYou can grant Identity and Access Management permissions for an entire Google Cloud project to an account\nin the **IAM** page of the Google Cloud console or by using the\nGoogle Cloud CLI. Adding permissions at the project level grants the\nIAM permissions to an account for the following roles:\n\n- Backup for GKE Admin\n- Backup for GKE Backup Admin\n- Backup for GKE Viewer\n- Backup for GKE Restore Admin\n\n### gcloud\n\nTo set permissions, run the following command: \n\n gcloud projects add-iam-policy-binding \u003cvar translate=\"no\"\u003ePROJECT_ID\u003c/var\u003e\\\n --role roles/\u003cvar translate=\"no\"\u003eROLE_ID\u003c/var\u003e \\\n --member \u003cvar translate=\"no\"\u003ePRINCIPAL\u003c/var\u003e\n\nReplace the following:\n\n- \u003cvar translate=\"no\"\u003ePROJECT_ID\u003c/var\u003e: the ID of your Google Cloud project.\n- \u003cvar translate=\"no\"\u003eROLE_ID\u003c/var\u003e: the type of role, for example `gkebackup.backupAdmin`.\n- \u003cvar translate=\"no\"\u003ePRINCIPAL\u003c/var\u003e: An identifier for the principal, which usually has the following form: `member-type:id`. For example, `user:my-user@example.com`.\n\n### Console\n\nPerform the following tasks in the Google Cloud console:\n\n1. Go to your project's IAM page.\n\n [Go to IAM](https://console.cloud.google.com/iam-admin/iam)\n2. Click the **Grant access** button below the toolbar.\n\n3. In the **New principals** box, enter the email for the account that you\n want to add.\n\n4. Select a role in the drop-down list, for example **Backup for GKE Admin.**\n\n5. Click **Save.**"]]