Sauf indication contraire, le contenu de cette page est régi par une licence Creative Commons Attribution 4.0, et les échantillons de code sont régis par une licence Apache 2.0. Pour en savoir plus, consultez les Règles du site Google Developers. Java est une marque déposée d'Oracle et/ou de ses sociétés affiliées.
Dernière mise à jour le 2024/05/16 (UTC).
[[["Facile à comprendre","easyToUnderstand","thumb-up"],["J'ai pu résoudre mon problème","solvedMyProblem","thumb-up"],["Autre","otherUp","thumb-up"]],[["Difficile à comprendre","hardToUnderstand","thumb-down"],["Informations ou exemple de code incorrects","incorrectInformationOrSampleCode","thumb-down"],["Il n'y a pas l'information/les exemples dont j'ai besoin","missingTheInformationSamplesINeed","thumb-down"],["Problème de traduction","translationIssue","thumb-down"],["Autre","otherDown","thumb-down"]],["Dernière mise à jour le 2024/05/16 (UTC)."],[[["\u003cp\u003eThis document describes how to retrieve the service account used by Access Approval to access KMS keys for signing approved requests.\u003c/p\u003e\n"],["\u003cp\u003eThe HTTP request for retrieving the service account is a \u003ccode\u003eGET\u003c/code\u003e request to a specific URL, structured with gRPC Transcoding syntax.\u003c/p\u003e\n"],["\u003cp\u003eThe request requires a path parameter named \u003ccode\u003ename\u003c/code\u003e, which represents the AccessApprovalServiceAccount to retrieve, and requires \u003ccode\u003eaccessapproval.serviceAccounts.get\u003c/code\u003e IAM permission.\u003c/p\u003e\n"],["\u003cp\u003eThe request body for retrieving the service account must be empty, and a successful response will return an instance of \u003ccode\u003eAccessApprovalServiceAccount\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eRetrieving the service account requires the \u003ccode\u003ehttps://www.googleapis.com/auth/cloud-platform\u003c/code\u003e OAuth scope for authorization.\u003c/p\u003e\n"]]],[],null,["# Method: projects.getServiceAccount\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n- [Authorization scopes](#body.aspect)\n\nRetrieves the service account that is used by Access Approval to access KMS keys for signing approved approval requests.\n\n### HTTP request\n\n`GET https://accessapproval.googleapis.com/v1/{name=projects/*/serviceAccount}`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n### Request body\n\nThe request body must be empty.\n\n### Response body\n\nIf successful, the response body contains an instance of [AccessApprovalServiceAccount](/assured-workloads/access-approval/docs/reference/rest/v1/AccessApprovalServiceAccount).\n\n### Authorization scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/cloud-platform`\n\nFor more information, see the [Authentication Overview](https://cloud.google.com/docs/authentication/)."]]