File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed
packages/clients/src/api/secret/v1alpha1 Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -112,6 +112,7 @@ export const marshalCreateSecretVersionRequest = (
112112) : Record < string , unknown > => ( {
113113 data : request . data ,
114114 description : request . description ,
115+ disable_previous : request . disablePrevious ,
115116} )
116117
117118export const marshalUpdateSecretRequest = (
Original file line number Diff line number Diff line change @@ -191,6 +191,11 @@ export type CreateSecretVersionRequest = {
191191 data : string
192192 /** Description of the version. */
193193 description ?: string
194+ /**
195+ * Disable the previous secret version. If there is no previous version or if
196+ * the previous version was already disabled, does nothing.
197+ */
198+ disablePrevious : boolean
194199}
195200
196201export type GetSecretVersionRequest = {
You can’t perform that action at this time.
0 commit comments