Commit c89b193
authored
feat(policy): Add UnsafeUpdateKey rpc. (#3728)
## Summary
- Add a new `UnsafeUpdateKey` proto, to enable the following flows:
- Switching a key from `public_key` <-> `remote`
- Switching provider configurations for a key
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
- **New Features**
- Added the `UnsafeUpdateKey` API for updating an existing key using its
ID, target key mode, and optional provider configuration.
- The API response returns the updated key details.
- Added client and server interface support for the new operation.
- **Documentation**
- Updated gRPC and OpenAPI documentation with request fields, response
schemas, endpoint details, and safety warnings.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
---------
Signed-off-by: Chris Reed <creed@virtru.com>1 parent de9ae0d commit c89b193
8 files changed
Lines changed: 583 additions & 139 deletions
File tree
- docs
- grpc
- openapi/policy/unsafe
- protocol/go/policy/unsafe
- unsafeconnect
- sdk/sdkconnect
- service/policy/unsafe
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments