From c5772f9a9d11c2ebe6e46d829877f1fb4025856b Mon Sep 17 00:00:00 2001 From: Marcus Hines Date: Wed, 30 Oct 2024 15:04:59 +0000 Subject: [PATCH] Add force_override to align with authz/pathz --- credentialz/credentialz.proto | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/credentialz/credentialz.proto b/credentialz/credentialz.proto index e6ebe7c..4e339de 100644 --- a/credentialz/credentialz.proto +++ b/credentialz/credentialz.proto @@ -237,6 +237,15 @@ message RotateAccountCredentialsRequest { PasswordRequest password = 3; FinalizeRequest finalize = 4; } + + // If set to `true` the requested operation will succeed even if the specified + // `version` or `credential` is already in use (is not unique). + // If set to `false` the requested operation will fail and the streaming RPC + // will be closed with the `ALREADY_EXISTS` gRPC error if the specified + // version` is already in use (is not unique). + // It is a no-op for the `finalize_rotation` request. + bool force_overwrite = 5; + } // RotateAccountCredentialsResponse is the response to