Required. The ID for the provider, which becomes the final component of the resource name. This value must be 4-32 characters, and may contain the characters [a-z0-9-]. The prefix gcp- is reserved for use by Google, and may not be specified.
[[["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."],[[["\u003cp\u003eThis webpage details how to create a new WorkloadIdentityPoolProvider within a specified WorkloadIdentityPool using an HTTP POST request.\u003c/p\u003e\n"],["\u003cp\u003eThe process involves defining path parameters, including the parent pool, and query parameters, like the unique identifier for the new provider.\u003c/p\u003e\n"],["\u003cp\u003eCreating a WorkloadIdentityPoolProvider requires a POST request with a request body containing the provider's details and results in a response body with an Operation instance.\u003c/p\u003e\n"],["\u003cp\u003eSpecific authorization scopes, either \u003ccode\u003ehttps://www.googleapis.com/auth/cloud-platform\u003c/code\u003e or \u003ccode\u003ehttps://www.googleapis.com/auth/iam\u003c/code\u003e, are required, along with the \u003ccode\u003eiam.workloadIdentityPoolProviders.create\u003c/code\u003e IAM permission on the parent resource.\u003c/p\u003e\n"],["\u003cp\u003eYou cannot reuse the name of a deleted provider until 30 days have passed.\u003c/p\u003e\n"]]],[],null,["# Method: projects.locations.workloadIdentityPools.providers.create\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Query parameters](#body.QUERY_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n- [Authorization scopes](#body.aspect)\n- [IAM Permissions](#body.aspect_1)\n- [Examples](#examples)\n- [Try it!](#try-it)\n\nCreates a new [WorkloadIdentityPoolProvider](/iam/docs/reference/rest/v1/projects.locations.workloadIdentityPools.providers#WorkloadIdentityPoolProvider) in a [WorkloadIdentityPool](/iam/docs/reference/rest/v1/projects.locations.workloadIdentityPools#WorkloadIdentityPool).\n\nYou cannot reuse the name of a deleted provider until 30 days after deletion.\n\n### HTTP request\n\n`POST https://iam.googleapis.com/v1/{parent=projects/*/locations/*/workloadIdentityPools/*}/providers`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n### Query parameters\n\n### Request body\n\nThe request body contains an instance of [WorkloadIdentityPoolProvider](/iam/docs/reference/rest/v1/projects.locations.workloadIdentityPools.providers#WorkloadIdentityPoolProvider).\n\n### Response body\n\nIf successful, the response body contains a newly created instance of [Operation](/iam/docs/reference/rest/Shared.Types/Operation).\n\n### Authorization scopes\n\nRequires one of the following OAuth scopes:\n\n- `https://www.googleapis.com/auth/cloud-platform`\n- `\n https://www.googleapis.com/auth/iam`\n\nFor more information, see the [Authentication Overview](/docs/authentication#authorization-gcp).\n\n### IAM Permissions\n\nRequires the following [IAM](https://cloud.google.com/iam/docs) permission on the `parent` resource:\n\n- `iam.workloadIdentityPoolProviders.create`\n\nFor more information, see the [IAM documentation](https://cloud.google.com/iam/docs)."]]