Mit Sammlungen den Überblick behalten
Sie können Inhalte basierend auf Ihren Einstellungen speichern und kategorisieren.
In diesem Thema geht es um die Verwendung von Cloud External Key Manager (Cloud EKM) zum Erstellen und Verwalten externer Schlüssel, auf die über das Internet zugegriffen wird.
Hinweise
Wenn Sie die folgenden Schritte abgeschlossen haben, können Sie Cloud EKM-Schlüssel verwenden, um Ihre Daten zu schützen.
Neues Projekt erstellen
Rufen Sie in der Google Cloud Console die Seite „Ressourcen verwalten“ auf.
Notieren Sie sich das Cloud EKM-Dienstkonto Ihres Projekts. Ersetzen Sie im folgenden Beispiel PROJECT_NUMBER durch die Projektnummer IhresGoogle Cloud -Projekts. Die Projektnummer wird auch angezeigt, wenn Sie die Google Cloud Konsole zum Erstellen eines Cloud EKM-Schlüssels verwenden.
Das Partnersystem für die externe Schlüsselverwaltung vorbereiten
Gewähren Sie dem Google Cloud -Dienstkonto im Partnersystem für die externe Schlüsselverwaltung Zugriff, um den externen Schlüssel zu verwenden. Behandeln Sie das Dienstkonto als E-Mail-Adresse.
Partner verwenden möglicherweise eine andere Terminologie als die in diesem Thema verwendete.
gcloud CLI auf dem neuesten Stand halten
Wenn Sie die Google Cloud CLI verwenden möchten, sorgen Sie mit dem folgenden Befehl dafür, dass sie auf dem neuesten Stand ist:
gcloud
gcloud components update
Fehlerbehebung
Wenn beim Erstellen oder Verwenden eines Cloud EKM-Schlüssels ein Fehler auftritt, wird ein Fehler protokolliert. Informationen zur Fehlerbehebung bei Cloud EKM-Fehlern finden Sie in der Cloud EKM-Fehlerreferenz.
[[["Leicht verständlich","easyToUnderstand","thumb-up"],["Mein Problem wurde gelöst","solvedMyProblem","thumb-up"],["Sonstiges","otherUp","thumb-up"]],[["Schwer verständlich","hardToUnderstand","thumb-down"],["Informationen oder Beispielcode falsch","incorrectInformationOrSampleCode","thumb-down"],["Benötigte Informationen/Beispiele nicht gefunden","missingTheInformationSamplesINeed","thumb-down"],["Problem mit der Übersetzung","translationIssue","thumb-down"],["Sonstiges","otherDown","thumb-down"]],["Zuletzt aktualisiert: 2025-08-18 (UTC)."],[],[],null,["# Set up Cloud EKM via the internet\n\nThis topic is about using Cloud External Key Manager (Cloud EKM) to create and manage external keys\naccessed via the internet.\n\nBefore you begin\n----------------\n\nAfter you complete the steps below, you can begin using Cloud EKM\nkeys to protect your data.\n\n### Create a new project\n\n1. In the Google Cloud console, go to the Manage Resources page.\n\n [Go to the Manage Resources page](https://console.cloud.google.com/project)\n2. Create a new Google Cloud project or select an existing project.\n\n | **Important:** The name you use must be between 4 and 30 characters. When you type the name, the form will suggest a project ID, which you can edit. The project ID you use must be between 6 and 30 characters, with a lowercase letter as the first character. You can use a dash, lowercase letter, or digit for the remaining characters, but the last character cannot be a dash. You should be aware that some resource identifiers (such as project IDs) might be retained beyond the life of your project. For this reason, avoid storing sensitive information in resource identifiers.\n ...see naming guidelines\n3.\n [Verify that billing is enabled for your Google Cloud project](/billing/docs/how-to/verify-billing-enabled#confirm_billing_is_enabled_on_a_project).\n\n4. You can learn more about [Cloud EKM pricing](/kms/pricing).\n\n### Enable Cloud KMS\n\n1. Enable the Cloud Key Management Service API for the project.\n\n [Enable the Cloud Key Management Service API](https://console.cloud.google.com/flows/enableapi?apiid=cloudkms.googleapis.com)\n2. Make a note of your project's Cloud EKM service account. In the\n following example, replace \u003cvar translate=\"no\"\u003ePROJECT_NUMBER\u003c/var\u003e with your\n Google Cloud project's [project number](/resource-manager/docs/creating-managing-projects#identifying_projects). This\n information is also visible each time you use the Google Cloud console to create\n a Cloud EKM key.\n\n ```\n service-PROJECT_NUMBER@gcp-sa-ekms.iam.gserviceaccount.com\n ```\n\n### Prepare the external key management partner system\n\nIn the external key management partner system, grant the Google Cloud service account\naccess to use the external key. Treat the service account as an email address.\nPartners may use different terminology than that used in this topic.\n\n### Ensure gcloud CLI is up to date\n\nIf you're going to use the Google Cloud CLI, ensure that it's up-to-date with\nthe following command: \n\n### gcloud\n\n```\ngcloud components update\n```\n\nTroubleshooting errors\n----------------------\n\nIf you experience an error when creating or using a Cloud EKM key, an\nerror is logged. For information about troubleshooting Cloud EKM\nerrors, see the [Cloud EKM error reference](/kms/docs/reference/ekm_errors).\n\nWhat's next\n-----------\n\n- [Create an external key](/kms/docs/create-external-key)"]]