File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed
packages/clients/src/api/secret/v1beta1 Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -117,6 +117,7 @@ export const unmarshalAccessSecretVersionResponse = (
117117 dataCrc32 : data . data_crc32 ,
118118 revision : data . revision ,
119119 secretId : data . secret_id ,
120+ type : data . type ,
120121 } as AccessSecretVersionResponse
121122}
122123
Original file line number Diff line number Diff line change @@ -141,7 +141,7 @@ export interface Secret {
141141 managed : boolean
142142 /** Returns `true` for protected secrets that cannot be deleted. */
143143 protected : boolean
144- /** See `Secret.Type` enum for description of values. */
144+ /** See the `Secret.Type` enum for a description of values. */
145145 type : SecretType
146146 /** Location of the secret in the directory structure. */
147147 path : string
@@ -188,6 +188,8 @@ export interface AccessSecretVersionResponse {
188188 * the version.
189189 */
190190 dataCrc32 ?: number
191+ /** See the `Secret.Type` enum for a description of values. */
192+ type : SecretType
191193}
192194
193195export type AddSecretOwnerRequest = {
@@ -243,7 +245,7 @@ export type CreateSecretRequest = {
243245 /** Description of the secret. */
244246 description ?: string
245247 /**
246- * (Optional.) See `Secret.Type` enum for description of values. If not
248+ * (Optional.) See the `Secret.Type` enum for a description of values. If not
247249 * specified, the type is `Opaque`.
248250 */
249251 type ?: SecretType
You can’t perform that action at this time.
0 commit comments