تنظيم صفحاتك في مجموعات
يمكنك حفظ المحتوى وتصنيفه حسب إعداداتك المفضّلة.
يسرد جميع بيانات الاعتماد النشطة لحساب الخدمة المرتبط بهذا
للمؤسسات. يتم عرض رقم التعريف ونوع المفتاح فقط. خدمة الاتصال
تم استرداده من خلال طلب Enterprises.GetServiceAccount
أن يتم ضبطه كحساب خدمة المؤسسة من خلال طلب
Enterprises.SetAccount:
الطلب
طلب HTTP
GET https://www.googleapis.com/androidenterprise/v1/enterprises/enterpriseId/serviceAccountKeys
تاريخ التعديل الأخير: 2025-07-26 (حسب التوقيت العالمي المتفَّق عليه)
[null,null,["تاريخ التعديل الأخير: 2025-07-26 (حسب التوقيت العالمي المتفَّق عليه)"],[[["\u003cp\u003eThis method lists active credentials (ID and key type only) for an enterprise's associated service account, but is deprecated and will be inaccessible after September 30, 2025.\u003c/p\u003e\n"],["\u003cp\u003eTo use this method, the calling service account must be retrieved and set as the enterprise service account using specific API calls.\u003c/p\u003e\n"],["\u003cp\u003eNew integrations should refer to the recommended alternatives provided in the documentation instead of using this deprecated method.\u003c/p\u003e\n"],["\u003cp\u003eAuthorization with the \u003ccode\u003ehttps://www.googleapis.com/auth/androidenterprise\u003c/code\u003e scope is required to use this API method.\u003c/p\u003e\n"]]],[],null,["# Serviceaccountkeys: list\n\n| **Note:** Requires [authorization](#auth).\n\n\u003cbr /\u003e\n\n| **Deprecated:** New integrations cannot use this method and can refer to our [new\n| recommendations](/android/work/deprecations#recommended_alternative_4). \n| **This method will no longer be accessible by\n| anyone after September 30, 2025.**\nLists all active credentials for the service account associated with this enterprise. Only the ID and key type are returned. The calling service account must have been retrieved by calling Enterprises.GetServiceAccount and must have been set as the enterprise service account by calling Enterprises.SetAccount.\n\n\u003cbr /\u003e\n\nRequest\n-------\n\n### HTTP request\n\n```\nGET https://www.googleapis.com/androidenterprise/v1/enterprises/enterpriseId/serviceAccountKeys\n```\n\n### Parameters\n\n| Parameter name | Value | Description |\n|----------------|----------|---------------------------|\n| **Path parameters** |||\n| `enterpriseId` | `string` | The ID of the enterprise. |\n\n### Authorization\n\nThis request requires authorization with the following scope:\n\n| Scope |\n|-----------------------------------------------------|\n| `https://www.googleapis.com/auth/androidenterprise` |\n\nFor more information, see the [authentication and authorization](/android/work/play/emm-api/v1/how-tos/authorizing) page.\n\n### Request body\n\nDo not supply a request body with this method.\n\nResponse\n--------\n\nIf successful, this method returns a response body with the following structure:\n\n```objective-c\n{\n \"serviceAccountKey\": [\n serviceaccountkeys Resource\n ]\n}\n```\n\n| Property name | Value | Description | Notes |\n|-----------------------|--------|----------------------------------|-------|\n| `serviceAccountKey[]` | `list` | The service account credentials. | |"]]