litellm/tests/proxy_behavior/management
ryan-crabbe-berri fe480533e8 feat(proxy)!: refuse to start with an unset, empty, or publicly known master key
The proxy used to boot with no master key (every request accepted without
authentication) and with sk-1234, the key every example used. It now stops at
startup, before it connects to the database, and prints how to fix it: where the
bad key came from, a copy-pastable command that generates a secure key, and,
when the public key is also encrypting a database, a link to the rotation guide

general_settings.dangerously_allow_unsafe_proxy: true or
LITELLM_DANGEROUSLY_ALLOW_UNSAFE_PROXY=true starts the proxy anyway, for local
development. CI and test boots that rely on sk-1234 or on no key set it

BREAKING CHANGE: deployments with no master key, an empty one, or sk-1234 no
longer start until they set a real key or opt in to the override
2026-09-19 13:44:00 -07:00
..
__init__.py
actors.py
conftest.py feat(proxy)!: refuse to start with an unset, empty, or publicly known master key 2026-09-19 13:44:00 -07:00
test_credential_migration_endpoint.py
test_f7_coverage_closeout.py
test_f7_key_coverage_push.py
test_key_aliases.py
test_key_block_unblock.py
test_key_budget_limits.py
test_key_bulk_update.py
test_key_delete.py
test_key_generate.py
test_key_health.py
test_key_info.py
test_key_info_v2.py
test_key_list.py
test_key_regenerate.py
test_key_reset_spend.py
test_key_service_account_generate.py
test_key_team_change.py
test_key_update.py
test_no_management_imports.py
test_route_coverage.py
test_scratch_teardown.py
test_smoke.py
test_team_available.py
test_team_block_unblock.py
test_team_budget_limits.py fix(proxy): enforce org budget ceilings on /team/update 2026-09-16 15:38:30 -07:00
test_team_bulk_member_add.py
test_team_bulk_member_delete.py fix(proxy): match an id-only bulk member delete against a legacy email-only roster entry 2026-09-14 23:51:15 +00:00
test_team_daily_activity.py
test_team_delete.py
test_team_filter_ui.py
test_team_info.py
test_team_key_bulk_update.py
test_team_list.py
test_team_list_v2.py
test_team_member_add.py
test_team_member_delete.py
test_team_member_info_validation.py
test_team_member_me.py
test_team_member_reset_spend.py
test_team_member_update.py
test_team_metadata_schema.py
test_team_model.py
test_team_new.py
test_team_permissions.py
test_team_permissions_bulk_update.py
test_team_spend_by_user.py
test_team_update.py feat(proxy): let team admins edit tpm_limit when a proxy admin enables it 2026-09-16 15:38:30 -07:00
test_users_bulk_delete.py feat(proxy): move bulk user delete and team member delete under /management/v1 2026-09-14 22:31:07 +00:00
test_world_seed.py