Skip to content

Organization

organization_public-keys_create

Creates a public key for a product.

Tool

organization_public-keys_create

Creates a public key for a product.

Creates a public key for a product. The plaintext key is returned only in this response and cannot be retrieved again.

Behavior

HTTP
POST /governance/api/v1/products/:productId/public-keys

Arguments

NameTypeRequiredDescription
namestringNo description in the catalog.
scopestringNo description in the catalog.
productIdstringNo description in the catalog.

Response

FieldTypeAlwaysDescription
idstring
keystring
namestring
scopestring
importedboolean
createdAtstring
createdBystring
keyPrefixstring
revokedAtstring

Try it

Creates a public key for a product.

When to use

Creates a public key for a product. The plaintext key is returned only in this response and cannot be retrieved again.

Example

Ask your agent something like this:

Creates a public key for a product.

The agent will invoke organization_public-keys_create with these arguments:

{
  "name": "<name>",
  "scope": "<scope>",
  "productId": "<productId>"
}

Esc

Start typing to search the docs.

navigateselect