NOTE: Some aspects of this product are in Beta. The hybrid installation options are GA. To join the Beta program, reach out to your Apigee representative.

REST Resource: organizations.developers.apps.keys.create

Resource: DeveloperAppKey

JSON representation
{
  "apiProducts": array,
  "attributes": [
    {
      object (Attribute)
    }
  ],
  "consumerKey": string,
  "consumerSecret": string,
  "expiresAt": string,
  "issuedAt": string,
  "scopes": [
    string
  ],
  "status": string
}
Fields
apiProducts

array (ListValue format)

List of API products for which the credential can be used.

Note: Do not specify the list of API products when creating a consumer key and secret for a developer app. Instead, use the keys.updateDeveloperAppKey API to make the association after the consumer key and secret are created.

attributes[]

object (Attribute)

List of attributes associated with the credential.

consumerKey

string

Consumer key.

consumerSecret

string

Secret key.

expiresAt

string (int64 format)

Time the developer app expires in milliseconds since epoch.

issuedAt

string (int64 format)

Time the developer app was created in milliseconds since epoch.

scopes[]

string

Scopes to apply to the app. The specified scope names must already be defined for the API product that you associate with the app.

status

string

Status of the credential. Valid values include approved or revoked.

Methods

create

Creates a custom consumer key and secret for a developer app.