Skip to content

added http config api to PluginManager for synchronous connection config updates#4950

Draft
Abhi011999 wants to merge 1 commit intoturbot:developfrom
Abhi011999:feat/config-api
Draft

added http config api to PluginManager for synchronous connection config updates#4950
Abhi011999 wants to merge 1 commit intoturbot:developfrom
Abhi011999:feat/config-api

Conversation

@Abhi011999
Copy link
Copy Markdown

API reference

POST /v1/connection/config

Request body:

{
  "connection": "aws_tenant_123",
  "plugin": "hub.steampipe.io/plugins/turbot/aws@latest",
  "plugin_short_name": "aws",
  "config": "regions = [\"us-east-1\"]\naccess_key = \"...\"\nsecret_key = \"...\"\nsession_token = \"...\"",
  "plugin_instance": "aws"
}

Notes:

  • config is plugin attributes only (no outer connection {} block).
  • handler resolves/normalizes plugin fields against existing connection metadata where available.

Success response:

{"success": true}

Error response:

{"success": false, "error": "..."}

Status codes:

  • 200: config updated (and schema created for new connection)
  • 400: invalid JSON / missing required field
  • 405: non-POST method
  • 500: update or schema-creation failure

@CLAassistant
Copy link
Copy Markdown

CLAassistant commented Mar 9, 2026

CLA assistant check
All committers have signed the CLA.

@Abhi011999 Abhi011999 marked this pull request as draft March 9, 2026 15:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants