Secrets

Create Connect cluster secret

Create a Kafka Connect cluster secret.

post/v1/kafka-connect/clusters/{cluster_name}/secrets

Path parameters

cluster_namestring required

Unique name of target connect cluster. For Redpanda Cloud, use redpanda.

Request body

labelsobject

Secret labels.

namestring required

Name of connector.

secret_datastring byte required

The secret data. Must be Base64-encoded.

Response

Secret created

Changes

Changed in 4 of the 51 revisions of this API.74

    • added the new SCOPE_AI_GATEWAY enum value to the secret/scopes/items/ response property for the response status 201

      response-property-enum-value-added

    This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • added the new SCOPE_AI_AGENT enum value to the secret/scopes/items/ response property for the response status 201

      response-property-enum-value-added

    • added the new SCOPE_MCP_SERVER enum value to the secret/scopes/items/ response property for the response status 201

      response-property-enum-value-added

    • removed the optional property id from the response with the 201 status

      response-optional-property-removed

    • removed the optional property labels from the response with the 201 status

      response-optional-property-removed

    • removed the optional property scopes from the response with the 201 status

      response-optional-property-removed

    • added the optional property secret to the response with the 201 status

      response-optional-property-added

  • dfa71f9d277e13See the full diff
    • removed the optional property secret from the response with the 201 status

      response-optional-property-removed

    • added the optional property id to the response with the 201 status

      response-optional-property-added

    • added the optional property labels to the response with the 201 status

      response-optional-property-added

    • added the optional property scopes to the response with the 201 status

      response-optional-property-added

    This revision also has 121 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog