Skip to content

Commit

Permalink
Merge pull request openconfig#201 from openconfig/robjs-certz-clarifi…
Browse files Browse the repository at this point in the history
…cations

Clarify multiplexing profile operations is not allowed in Certz.Rotate
  • Loading branch information
robshakir authored Jul 25, 2024
2 parents cb03eb0 + bdb8e6b commit 7a39665
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion certz/certz.proto
Original file line number Diff line number Diff line change
Expand Up @@ -243,6 +243,12 @@ service Certz {
// Step 4: Final commit.
// Client ---> FinalizeRequest ----> Target
//
// A `Rotate` RPC has a context of a single `profile` -- it is not
// permitted to multiplex operations for multiple profiles within the
// context of the same RPC (i.e., requesting a CSR for profile A, followed
// by requesting a CSR for profile B using the same `Rotate` RPC). In the
// case that such multiplexing is observed, the server should respond with
// an error specifying `InvalidArgument` as the status code.
rpc Rotate(stream RotateCertificateRequest)
returns (stream RotateCertificateResponse);

Expand Down Expand Up @@ -287,7 +293,7 @@ message RotateCertificateRequest {
// An identifier for the specific SSL profile (collection of
// certs/bundles/CRLs) which is being rotated through this stream.
// Leaving this field blank will result in an InvalidArgument error
// being returned to the client
// being returned to the client.
string ssl_profile_id = 2;

// Request Messages.
Expand Down

0 comments on commit 7a39665

Please sign in to comment.