Partition Service Should Support Updating Existing Secrets in a Partition

Status

  • Proposed
  • Trialing
  • Under review
  • Approved
  • Retired

Context & Scope

The Partition Service currently supports 3 API Operations.

  1. Create Partition (POST)
  2. Get Partition (GET)
  3. Delete Partition (DELETE)

Currently, the only way to add new secrets or update existing ones to the KV store for a partition is to delete it and recreate it. This leads to extra API calls and risks missing putting back some data that was not meant to be touched.

Decision

If this is implemented, KV stores will be simpler to update existing values on without having to delete existing data.

Rationale

Partitions need to be updated with new secrets and edits to existing ones. In order to minimize the complexity of this operation for external callers, having a route to support this will simplify partition editing processes.

Consequences

New API route in partition has to be supported/tested by all implementors of the service