{- "app_config": {
- "config_id": "string",
- "configs": "string",
- "enabled": true,
- "enabled_disabled_at": 0,
- "created": 0,
- "updated": 0,
- "env_variables": [
- {
- "identifier": "string",
- "env_name": "string",
- "created": 0,
- "updated": 0,
- "type": "Secret",
- "harness_secret_identifier": "string",
- "is_deleted": false
}
], - "config_name": "string",
- "proxy": [
- {
- "host": "string",
- "proxy": true,
- "selectors": [
- "string"
], - "identifier": "string",
- "pluginId": "string"
}
]
}
}
Save or Update Plugin Config
Example response
{- "app_config": {
- "config_id": "snyk-security",
- "configs": "proxy:\n '/snyk':\n target: https://snyk.io/api/v1\n headers:\n User-Agent: tech-services/backstage-plugin/1.0\n Authorization: token ${SNYK_TOKEN}",
- "enabled": true,
- "enabled_disabled_at": 0,
- "created": 1679589146025,
- "updated": 1679589146025,
- "env_variables": [
- {
- "env_name": "SNYK_TOKEN",
- "type": "Secret",
- "harness_secret_identifier": "snyktoken"
}
], - "config_name": "Snyk Security"
}
}
{- "app_config": {
- "config_id": "string",
- "configs": "string",
- "enabled": true,
- "enabled_disabled_at": 0,
- "created": 0,
- "updated": 0,
- "env_variables": [
- {
- "identifier": "string",
- "env_name": "string",
- "created": 0,
- "updated": 0,
- "type": "Secret",
- "harness_secret_identifier": "string",
- "is_deleted": false
}
], - "config_name": "string",
- "proxy": [
- {
- "host": "string",
- "proxy": true,
- "selectors": [
- "string"
], - "identifier": "string",
- "pluginId": "string"
}
]
}
}