mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-06 02:48:13 +00:00
feat: add LiteLLM_AgentVMConfig table for BYOC AWS settings (root schema)
Per-team BYOC AWS config consumed by the agent-session EC2 VM provider. `aws_creds_enc` is a JSON blob with each field individually encrypted via `encrypt_value_helper` so a partial DB leak doesn't expose the secret. Owned by Epic G's Settings UI (LIT-2891); consumed by Epic B's EC2 provider. LIT-2878
This commit is contained in:
parent
bd1a05aed9
commit
530211c558
1 changed files with 23 additions and 0 deletions
|
|
@ -80,6 +80,29 @@ model LiteLLM_AgentsTable {
|
|||
updated_by String
|
||||
}
|
||||
|
||||
// BYOC AWS config for the agent-session VM provider.
|
||||
// One row per team. `aws_creds_enc` is a JSON blob with each field
|
||||
// individually encrypted via `encrypt_value_helper` (see
|
||||
// litellm/proxy/agent_session_endpoints/vm_providers/team_config.py).
|
||||
// Owned by Epic G's Settings UI; consumed by Epic B's EC2 provider.
|
||||
model LiteLLM_AgentVMConfig {
|
||||
team_id String @id
|
||||
aws_creds_enc String?
|
||||
region String?
|
||||
subnet_id String?
|
||||
security_group_id String?
|
||||
iam_instance_profile String?
|
||||
ami_id String?
|
||||
instance_type String?
|
||||
use_spot Boolean @default(true)
|
||||
warm_pool_size Int @default(0)
|
||||
network_access Json?
|
||||
created_at DateTime @default(now()) @map("created_at")
|
||||
created_by String
|
||||
updated_at DateTime @default(now()) @updatedAt @map("updated_at")
|
||||
updated_by String
|
||||
}
|
||||
|
||||
model LiteLLM_OrganizationTable {
|
||||
organization_id String @id @default(uuid())
|
||||
organization_alias String
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue