Method: organizations.developers.apps.keys.create

Creates a custom consumer key and secret for a developer app. This is particularly useful if you want to migrate existing consumer keys/secrets to Edge from another system. Be aware of the following size limits on API keys. By staying within these limits, you help avoid service disruptions (2KB each for Consumer Key and Secret). After creating the consumer key and secret, associate the key with an API product using the API keys.updateDeveloperAppKey If a consumer key and secret already exist, you can either keep them or delete them with this API [DeleteKeyFromDeveloperApp][DeveloperAppKeys.DeleteKeyFromDeveloperApp] Consumer keys and secrets can contain letters, numbers, underscores, and hyphens. No other special characters are allowed.

HTTP request

POST https://apigee.googleapis.com/v1/{parent=organizations/*/developers/*/apps/*}/keys

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

Parent of a developer app key in the form organizations/{org}/developers/{developer}/apps

Request body

The request body contains an instance of DeveloperAppKey.

Response body

If successful, the response body contains a newly created instance of DeveloperAppKey.

Authorization Scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform