Skip to content

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

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

added http config api to PluginManager for synchronous connection config updates#4950
Abhi011999 wants to merge 1 commit into
turbot: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
@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 9, 2026

This PR is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 30 days.

@github-actions github-actions Bot added the stale No recent activity has been detected on this issue/PR and it will be closed label May 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

stale No recent activity has been detected on this issue/PR and it will be closed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants