File tree Expand file tree Collapse file tree 2 files changed +3
-0
lines changed
packages/clients/src/api/secret/v1alpha1 Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -231,6 +231,7 @@ export const marshalCreateSecretRequest = (
231231 request . ephemeralPolicy !== undefined
232232 ? marshalEphemeralPolicy ( request . ephemeralPolicy , defaults )
233233 : undefined ,
234+ is_protected : request . isProtected ,
234235 name : request . name ,
235236 path : request . path ,
236237 project_id : request . projectId ?? defaults . defaultProjectId ,
Original file line number Diff line number Diff line change @@ -277,6 +277,8 @@ export type CreateSecretRequest = {
277277 * default, the policy is applied to all the secret's versions.
278278 */
279279 ephemeralPolicy ?: EphemeralPolicy
280+ /** A protected secret cannot be deleted. */
281+ isProtected : boolean
280282}
281283
282284export type CreateSecretVersionRequest = {
You can’t perform that action at this time.
0 commit comments