[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-05-14 UTC."],[],[],null,["# Method: projects.secrets.versions.access\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 - [JSON representation](#body.AccessSecretVersionResponse.SCHEMA_REPRESENTATION)\n- [Authorization Scopes](#body.aspect)\n- [Try it!](#try-it)\n\nAccesses a [SecretVersion](/secret-manager/docs/reference/rest/v1/projects.secrets.versions#SecretVersion). This call returns the secret data.\n\n`projects/*/secrets/*/versions/latest` is an alias to the most recently created [SecretVersion](/secret-manager/docs/reference/rest/v1/projects.secrets.versions#SecretVersion).\n\n### HTTP request\n\n`GET https://secretmanager.googleapis.com/v1/{name=projects/*/secrets/*/versions/*}:access`\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 data with the following structure:\nResponse message for [SecretManagerService.AccessSecretVersion](/secret-manager/docs/reference/rest/v1/projects.secrets.versions/access#google.cloud.secretmanager.v1.SecretManagerService.AccessSecretVersion).\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/)."]]