A Discovery Document is a machine-readable specification for describing and consuming REST APIs. It is used to build client libraries, IDE plugins, and other tools that interact with Google APIs. One service may provide multiple discovery documents. This service provides the following discovery documents:
A service endpoint is a base URL that specifies the network address of an API service. One service might have multiple service endpoints. This service has the following service endpoint and all URIs below are relative to this service endpoint:
[[["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-21 UTC."],[],[],null,["# Security Token Service API\n\nThe Security Token Service exchanges Google or third-party credentials for a short-lived access token to Google Cloud resources.\n\n- [REST Resource: v1beta](#v1beta)\n- [REST Resource: v1](#v1)\n\nService: sts.googleapis.com\n---------------------------\n\n### Discovery document\n\nA [Discovery Document](https://developers.google.com/discovery/v1/reference/apis) is a machine-readable specification for describing and consuming REST APIs. It is used to build client libraries, IDE plugins, and other tools that interact with Google APIs. One service may provide multiple discovery documents. This service provides the following discovery documents:\n\n- \u003chttps://sts.googleapis.com/$discovery/rest?version=v1\u003e\n- \u003chttps://sts.googleapis.com/$discovery/rest?version=v1beta\u003e\n\n### Service endpoint\n\nA [service endpoint](https://cloud.google.com/apis/design/glossary#api_service_endpoint) is a base URL that specifies the network address of an API service. One service might have multiple service endpoints. This service has the following service endpoint and all URIs below are relative to this service endpoint:\n\n- `https://sts.googleapis.com`\n\nREST Resource: [v1beta](/iam/docs/reference/sts/rest/v1beta/TopLevel/token)\n---------------------------------------------------------------------------\n\nREST Resource: [v1](/iam/docs/reference/sts/rest/v1/TopLevel/token)\n-------------------------------------------------------------------"]]