Skip to content

ENH Persist API-created targets - #3

Closed
behnam-o wants to merge 1 commit into
mainfrom
behnam-o-persist-targets
Closed

ENH Persist API-created targets#3
behnam-o wants to merge 1 commit into
mainfrom
behnam-o-persist-targets

Conversation

@behnam-o

Copy link
Copy Markdown
Owner

Problem

Targets created through the backend are only registered in memory, so they disappear when the backend restarts.

Solution

Persist non-secret target definitions in the configured PyRIT database and restore them during startup. API keys are stored in an optional Azure Key Vault configured with target_secret_key_vault_url; when durable storage is unavailable, the UI warns that the target will remain memory-only.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

Copilot-Session: e83115c3-5e73-489c-a39d-bd50eadc9af0
@behnam-o

Copy link
Copy Markdown
Owner Author

Closing this fork-local PR; the change is now proposed against the upstream repository.

@behnam-o behnam-o closed this Aug 28, 2026
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.

1 participant