@asteroidai/cli 1.9.67 → 1.9.80
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/asteroid.js +2 -219
- package/dist/core.js +1 -218
- package/package.json +1 -1
package/dist/asteroid.js
CHANGED
|
@@ -1927,7 +1927,7 @@ var COMMANDS = [
|
|
|
1927
1927
|
command: "profile create",
|
|
1928
1928
|
tool: "profiles_create",
|
|
1929
1929
|
title: "Create profile",
|
|
1930
|
-
description: "Create a login profile: one identity a workflow can sign in as, with its attached secrets, Email Inbox, sticky IP and stored browser state. Attach secrets with `secretIds
|
|
1930
|
+
description: "Create a login profile: one identity a workflow can sign in as, with its attached secrets, Email Inbox, sticky IP and stored browser state. Attach secrets with `secretIds`. Secret values never pass through an agent: the person who holds them fills a secret request or the platform's secret form.",
|
|
1931
1931
|
method: "POST",
|
|
1932
1932
|
path: "/agents/v2/profiles",
|
|
1933
1933
|
args: [],
|
|
@@ -2120,40 +2120,6 @@ var COMMANDS = [
|
|
|
2120
2120
|
required: false,
|
|
2121
2121
|
description: "Search profiles by name (partial match)"
|
|
2122
2122
|
},
|
|
2123
|
-
{
|
|
2124
|
-
name: "proxyMode",
|
|
2125
|
-
flag: "proxy-mode",
|
|
2126
|
-
type: "string[]",
|
|
2127
|
-
required: false,
|
|
2128
|
-
description: "Filter by proxy mode (can specify multiple, there is an 'OR' condition applied to these)",
|
|
2129
|
-
enum: ["none", "managed", "custom", "gateway"]
|
|
2130
|
-
},
|
|
2131
|
-
{
|
|
2132
|
-
name: "operatingSystem",
|
|
2133
|
-
flag: "operating-system",
|
|
2134
|
-
type: "string[]",
|
|
2135
|
-
required: false,
|
|
2136
|
-
description: "Filter by emulated operating system (can specify multiple, there is an 'OR' condition applied to these). Profiles without an explicit operating system count as macOS.",
|
|
2137
|
-
enum: ["macos", "windows"]
|
|
2138
|
-
},
|
|
2139
|
-
{
|
|
2140
|
-
name: "feature",
|
|
2141
|
-
flag: "feature",
|
|
2142
|
-
type: "string[]",
|
|
2143
|
-
required: false,
|
|
2144
|
-
description: "Filter by active browser features (can specify multiple, there is an 'AND' condition applied to these \u2014 every listed feature must be enabled)",
|
|
2145
|
-
enum: [
|
|
2146
|
-
"extraStealth",
|
|
2147
|
-
"allow3rdCookies",
|
|
2148
|
-
"captchaSolverActive",
|
|
2149
|
-
"stickyIP",
|
|
2150
|
-
"cachePersistence",
|
|
2151
|
-
"adblockActive",
|
|
2152
|
-
"popupBlockerActive",
|
|
2153
|
-
"forcePopupsAsTabsActive",
|
|
2154
|
-
"mediaBlockerActive"
|
|
2155
|
-
]
|
|
2156
|
-
},
|
|
2157
2123
|
{
|
|
2158
2124
|
name: "sortField",
|
|
2159
2125
|
flag: "sort-field",
|
|
@@ -3170,69 +3136,6 @@ var COMMANDS = [
|
|
|
3170
3136
|
credentialOrganization: false
|
|
3171
3137
|
}
|
|
3172
3138
|
},
|
|
3173
|
-
{
|
|
3174
|
-
command: "secret create",
|
|
3175
|
-
tool: "secrets_create",
|
|
3176
|
-
title: "Create secret",
|
|
3177
|
-
description: "Create an organization secret. The item key is derived from name unless itemKey is given. Values are stored; responses are masked. Pass either `templateId` or `kind`+`fields`, plus `values`. Attach the returned id to a profile with `profile_update.secretIdsToAdd`. Reference fields as ##ITEM_KEY.FIELD##. Many secrets may share a key; a profile cannot attach two secrets with the same key.",
|
|
3178
|
-
method: "POST",
|
|
3179
|
-
path: "/agents/v2/secrets",
|
|
3180
|
-
args: [],
|
|
3181
|
-
query: [],
|
|
3182
|
-
binary: false,
|
|
3183
|
-
readOnly: false,
|
|
3184
|
-
destructive: false,
|
|
3185
|
-
body: {
|
|
3186
|
-
required: true,
|
|
3187
|
-
contentType: "application/json",
|
|
3188
|
-
fields: [
|
|
3189
|
-
{
|
|
3190
|
-
name: "name",
|
|
3191
|
-
flag: "name",
|
|
3192
|
-
type: "string",
|
|
3193
|
-
required: true
|
|
3194
|
-
},
|
|
3195
|
-
{
|
|
3196
|
-
name: "itemKey",
|
|
3197
|
-
flag: "item-key",
|
|
3198
|
-
type: "string",
|
|
3199
|
-
required: false,
|
|
3200
|
-
description: "Optional UPPER_SNAKE key. Derived from name when omitted."
|
|
3201
|
-
},
|
|
3202
|
-
{
|
|
3203
|
-
name: "templateId",
|
|
3204
|
-
flag: "template-id",
|
|
3205
|
-
type: "string",
|
|
3206
|
-
required: false,
|
|
3207
|
-
description: "Org template to snapshot. Mutually exclusive with kind and fields."
|
|
3208
|
-
},
|
|
3209
|
-
{
|
|
3210
|
-
name: "kind",
|
|
3211
|
-
flag: "kind",
|
|
3212
|
-
type: "string",
|
|
3213
|
-
required: false,
|
|
3214
|
-
description: "Required when templateId is omitted.",
|
|
3215
|
-
enum: ["login", "api_key", "card", "custom"]
|
|
3216
|
-
},
|
|
3217
|
-
{
|
|
3218
|
-
name: "fields",
|
|
3219
|
-
flag: "fields",
|
|
3220
|
-
type: "json",
|
|
3221
|
-
required: false,
|
|
3222
|
-
description: "Inline field blueprint. Required when templateId is omitted."
|
|
3223
|
-
},
|
|
3224
|
-
{
|
|
3225
|
-
name: "values",
|
|
3226
|
-
flag: "values",
|
|
3227
|
-
type: "json",
|
|
3228
|
-
required: true,
|
|
3229
|
-
description: "Field values as `key`/`value` pairs."
|
|
3230
|
-
}
|
|
3231
|
-
],
|
|
3232
|
-
files: [],
|
|
3233
|
-
credentialOrganization: true
|
|
3234
|
-
}
|
|
3235
|
-
},
|
|
3236
3139
|
{
|
|
3237
3140
|
command: "secret delete",
|
|
3238
3141
|
tool: "secret_delete",
|
|
@@ -3253,91 +3156,6 @@ var COMMANDS = [
|
|
|
3253
3156
|
readOnly: false,
|
|
3254
3157
|
destructive: true
|
|
3255
3158
|
},
|
|
3256
|
-
{
|
|
3257
|
-
command: "secret field add",
|
|
3258
|
-
tool: "secret_field_add",
|
|
3259
|
-
title: "Add secret field",
|
|
3260
|
-
description: "Add a non-required field to a secret. Pass `field` (label, type, required) and `value`. Secret values are never returned.",
|
|
3261
|
-
method: "POST",
|
|
3262
|
-
path: "/agents/v2/secrets/{secretId}/fields",
|
|
3263
|
-
args: [
|
|
3264
|
-
{
|
|
3265
|
-
name: "secretId",
|
|
3266
|
-
flag: "secret-id",
|
|
3267
|
-
type: "string",
|
|
3268
|
-
required: true
|
|
3269
|
-
}
|
|
3270
|
-
],
|
|
3271
|
-
query: [],
|
|
3272
|
-
binary: false,
|
|
3273
|
-
readOnly: false,
|
|
3274
|
-
destructive: false,
|
|
3275
|
-
body: {
|
|
3276
|
-
required: true,
|
|
3277
|
-
contentType: "application/json",
|
|
3278
|
-
fields: [
|
|
3279
|
-
{
|
|
3280
|
-
name: "field",
|
|
3281
|
-
flag: "field",
|
|
3282
|
-
type: "json",
|
|
3283
|
-
required: true,
|
|
3284
|
-
description: "Write shape for a field. The server derives key from label.",
|
|
3285
|
-
fields: [
|
|
3286
|
-
{
|
|
3287
|
-
name: "type",
|
|
3288
|
-
flag: "type",
|
|
3289
|
-
type: "string",
|
|
3290
|
-
required: false,
|
|
3291
|
-
description: "Type of a vault field. Sensitivity is derived from the type: username, email, url, phone, text, card_expiry, and cardholder_name are readable; password, hidden, totp_seed, api_key, card_number, and card_cvv are write-only. There is no separate hidden flag.",
|
|
3292
|
-
enum: [
|
|
3293
|
-
"username",
|
|
3294
|
-
"email",
|
|
3295
|
-
"url",
|
|
3296
|
-
"phone",
|
|
3297
|
-
"text",
|
|
3298
|
-
"password",
|
|
3299
|
-
"hidden",
|
|
3300
|
-
"totp_seed",
|
|
3301
|
-
"api_key",
|
|
3302
|
-
"card_number",
|
|
3303
|
-
"card_expiry",
|
|
3304
|
-
"card_cvv",
|
|
3305
|
-
"cardholder_name"
|
|
3306
|
-
]
|
|
3307
|
-
},
|
|
3308
|
-
{
|
|
3309
|
-
name: "label",
|
|
3310
|
-
flag: "label",
|
|
3311
|
-
type: "string",
|
|
3312
|
-
required: false,
|
|
3313
|
-
description: "Human label shown in forms. The field key is UPPER_SNAKE of this label."
|
|
3314
|
-
},
|
|
3315
|
-
{
|
|
3316
|
-
name: "required",
|
|
3317
|
-
flag: "required",
|
|
3318
|
-
type: "boolean",
|
|
3319
|
-
required: false
|
|
3320
|
-
},
|
|
3321
|
-
{
|
|
3322
|
-
name: "hint",
|
|
3323
|
-
flag: "hint",
|
|
3324
|
-
type: "string",
|
|
3325
|
-
required: false,
|
|
3326
|
-
description: "Optional guidance shown next to the field, copied from catalog credentials when generating masters."
|
|
3327
|
-
}
|
|
3328
|
-
]
|
|
3329
|
-
},
|
|
3330
|
-
{
|
|
3331
|
-
name: "value",
|
|
3332
|
-
flag: "value",
|
|
3333
|
-
type: "string",
|
|
3334
|
-
required: true
|
|
3335
|
-
}
|
|
3336
|
-
],
|
|
3337
|
-
files: [],
|
|
3338
|
-
credentialOrganization: false
|
|
3339
|
-
}
|
|
3340
|
-
},
|
|
3341
3159
|
{
|
|
3342
3160
|
command: "secret field remove",
|
|
3343
3161
|
tool: "secret_field_remove",
|
|
@@ -3432,41 +3250,6 @@ var COMMANDS = [
|
|
|
3432
3250
|
readOnly: true,
|
|
3433
3251
|
destructive: false
|
|
3434
3252
|
},
|
|
3435
|
-
{
|
|
3436
|
-
command: "secret rotate",
|
|
3437
|
-
tool: "secret_rotate",
|
|
3438
|
-
title: "Rotate secret values",
|
|
3439
|
-
description: "Replace field values on a secret in one write. Supply `values` as key/value pairs. Secret values are never returned.",
|
|
3440
|
-
method: "POST",
|
|
3441
|
-
path: "/agents/v2/secrets/{secretId}/rotate",
|
|
3442
|
-
args: [
|
|
3443
|
-
{
|
|
3444
|
-
name: "secretId",
|
|
3445
|
-
flag: "secret-id",
|
|
3446
|
-
type: "string",
|
|
3447
|
-
required: true
|
|
3448
|
-
}
|
|
3449
|
-
],
|
|
3450
|
-
query: [],
|
|
3451
|
-
binary: false,
|
|
3452
|
-
readOnly: false,
|
|
3453
|
-
destructive: false,
|
|
3454
|
-
body: {
|
|
3455
|
-
required: true,
|
|
3456
|
-
contentType: "application/json",
|
|
3457
|
-
fields: [
|
|
3458
|
-
{
|
|
3459
|
-
name: "values",
|
|
3460
|
-
flag: "values",
|
|
3461
|
-
type: "json",
|
|
3462
|
-
required: true,
|
|
3463
|
-
description: "New field values as `key`/`value` pairs."
|
|
3464
|
-
}
|
|
3465
|
-
],
|
|
3466
|
-
files: [],
|
|
3467
|
-
credentialOrganization: false
|
|
3468
|
-
}
|
|
3469
|
-
},
|
|
3470
3253
|
{
|
|
3471
3254
|
command: "secret update",
|
|
3472
3255
|
tool: "secret_update",
|
|
@@ -6832,7 +6615,7 @@ var ApiError = class extends Error {
|
|
|
6832
6615
|
status;
|
|
6833
6616
|
body;
|
|
6834
6617
|
};
|
|
6835
|
-
var VERSION = "1.9.
|
|
6618
|
+
var VERSION = "1.9.80";
|
|
6836
6619
|
function problem(status, body, fallback) {
|
|
6837
6620
|
if (body && typeof body === "object") {
|
|
6838
6621
|
const record2 = body;
|
package/dist/core.js
CHANGED
|
@@ -1948,7 +1948,7 @@ var COMMANDS = [
|
|
|
1948
1948
|
command: "profile create",
|
|
1949
1949
|
tool: "profiles_create",
|
|
1950
1950
|
title: "Create profile",
|
|
1951
|
-
description: "Create a login profile: one identity a workflow can sign in as, with its attached secrets, Email Inbox, sticky IP and stored browser state. Attach secrets with `secretIds
|
|
1951
|
+
description: "Create a login profile: one identity a workflow can sign in as, with its attached secrets, Email Inbox, sticky IP and stored browser state. Attach secrets with `secretIds`. Secret values never pass through an agent: the person who holds them fills a secret request or the platform's secret form.",
|
|
1952
1952
|
method: "POST",
|
|
1953
1953
|
path: "/agents/v2/profiles",
|
|
1954
1954
|
args: [],
|
|
@@ -2141,40 +2141,6 @@ var COMMANDS = [
|
|
|
2141
2141
|
required: false,
|
|
2142
2142
|
description: "Search profiles by name (partial match)"
|
|
2143
2143
|
},
|
|
2144
|
-
{
|
|
2145
|
-
name: "proxyMode",
|
|
2146
|
-
flag: "proxy-mode",
|
|
2147
|
-
type: "string[]",
|
|
2148
|
-
required: false,
|
|
2149
|
-
description: "Filter by proxy mode (can specify multiple, there is an 'OR' condition applied to these)",
|
|
2150
|
-
enum: ["none", "managed", "custom", "gateway"]
|
|
2151
|
-
},
|
|
2152
|
-
{
|
|
2153
|
-
name: "operatingSystem",
|
|
2154
|
-
flag: "operating-system",
|
|
2155
|
-
type: "string[]",
|
|
2156
|
-
required: false,
|
|
2157
|
-
description: "Filter by emulated operating system (can specify multiple, there is an 'OR' condition applied to these). Profiles without an explicit operating system count as macOS.",
|
|
2158
|
-
enum: ["macos", "windows"]
|
|
2159
|
-
},
|
|
2160
|
-
{
|
|
2161
|
-
name: "feature",
|
|
2162
|
-
flag: "feature",
|
|
2163
|
-
type: "string[]",
|
|
2164
|
-
required: false,
|
|
2165
|
-
description: "Filter by active browser features (can specify multiple, there is an 'AND' condition applied to these \u2014 every listed feature must be enabled)",
|
|
2166
|
-
enum: [
|
|
2167
|
-
"extraStealth",
|
|
2168
|
-
"allow3rdCookies",
|
|
2169
|
-
"captchaSolverActive",
|
|
2170
|
-
"stickyIP",
|
|
2171
|
-
"cachePersistence",
|
|
2172
|
-
"adblockActive",
|
|
2173
|
-
"popupBlockerActive",
|
|
2174
|
-
"forcePopupsAsTabsActive",
|
|
2175
|
-
"mediaBlockerActive"
|
|
2176
|
-
]
|
|
2177
|
-
},
|
|
2178
2144
|
{
|
|
2179
2145
|
name: "sortField",
|
|
2180
2146
|
flag: "sort-field",
|
|
@@ -3191,69 +3157,6 @@ var COMMANDS = [
|
|
|
3191
3157
|
credentialOrganization: false
|
|
3192
3158
|
}
|
|
3193
3159
|
},
|
|
3194
|
-
{
|
|
3195
|
-
command: "secret create",
|
|
3196
|
-
tool: "secrets_create",
|
|
3197
|
-
title: "Create secret",
|
|
3198
|
-
description: "Create an organization secret. The item key is derived from name unless itemKey is given. Values are stored; responses are masked. Pass either `templateId` or `kind`+`fields`, plus `values`. Attach the returned id to a profile with `profile_update.secretIdsToAdd`. Reference fields as ##ITEM_KEY.FIELD##. Many secrets may share a key; a profile cannot attach two secrets with the same key.",
|
|
3199
|
-
method: "POST",
|
|
3200
|
-
path: "/agents/v2/secrets",
|
|
3201
|
-
args: [],
|
|
3202
|
-
query: [],
|
|
3203
|
-
binary: false,
|
|
3204
|
-
readOnly: false,
|
|
3205
|
-
destructive: false,
|
|
3206
|
-
body: {
|
|
3207
|
-
required: true,
|
|
3208
|
-
contentType: "application/json",
|
|
3209
|
-
fields: [
|
|
3210
|
-
{
|
|
3211
|
-
name: "name",
|
|
3212
|
-
flag: "name",
|
|
3213
|
-
type: "string",
|
|
3214
|
-
required: true
|
|
3215
|
-
},
|
|
3216
|
-
{
|
|
3217
|
-
name: "itemKey",
|
|
3218
|
-
flag: "item-key",
|
|
3219
|
-
type: "string",
|
|
3220
|
-
required: false,
|
|
3221
|
-
description: "Optional UPPER_SNAKE key. Derived from name when omitted."
|
|
3222
|
-
},
|
|
3223
|
-
{
|
|
3224
|
-
name: "templateId",
|
|
3225
|
-
flag: "template-id",
|
|
3226
|
-
type: "string",
|
|
3227
|
-
required: false,
|
|
3228
|
-
description: "Org template to snapshot. Mutually exclusive with kind and fields."
|
|
3229
|
-
},
|
|
3230
|
-
{
|
|
3231
|
-
name: "kind",
|
|
3232
|
-
flag: "kind",
|
|
3233
|
-
type: "string",
|
|
3234
|
-
required: false,
|
|
3235
|
-
description: "Required when templateId is omitted.",
|
|
3236
|
-
enum: ["login", "api_key", "card", "custom"]
|
|
3237
|
-
},
|
|
3238
|
-
{
|
|
3239
|
-
name: "fields",
|
|
3240
|
-
flag: "fields",
|
|
3241
|
-
type: "json",
|
|
3242
|
-
required: false,
|
|
3243
|
-
description: "Inline field blueprint. Required when templateId is omitted."
|
|
3244
|
-
},
|
|
3245
|
-
{
|
|
3246
|
-
name: "values",
|
|
3247
|
-
flag: "values",
|
|
3248
|
-
type: "json",
|
|
3249
|
-
required: true,
|
|
3250
|
-
description: "Field values as `key`/`value` pairs."
|
|
3251
|
-
}
|
|
3252
|
-
],
|
|
3253
|
-
files: [],
|
|
3254
|
-
credentialOrganization: true
|
|
3255
|
-
}
|
|
3256
|
-
},
|
|
3257
3160
|
{
|
|
3258
3161
|
command: "secret delete",
|
|
3259
3162
|
tool: "secret_delete",
|
|
@@ -3274,91 +3177,6 @@ var COMMANDS = [
|
|
|
3274
3177
|
readOnly: false,
|
|
3275
3178
|
destructive: true
|
|
3276
3179
|
},
|
|
3277
|
-
{
|
|
3278
|
-
command: "secret field add",
|
|
3279
|
-
tool: "secret_field_add",
|
|
3280
|
-
title: "Add secret field",
|
|
3281
|
-
description: "Add a non-required field to a secret. Pass `field` (label, type, required) and `value`. Secret values are never returned.",
|
|
3282
|
-
method: "POST",
|
|
3283
|
-
path: "/agents/v2/secrets/{secretId}/fields",
|
|
3284
|
-
args: [
|
|
3285
|
-
{
|
|
3286
|
-
name: "secretId",
|
|
3287
|
-
flag: "secret-id",
|
|
3288
|
-
type: "string",
|
|
3289
|
-
required: true
|
|
3290
|
-
}
|
|
3291
|
-
],
|
|
3292
|
-
query: [],
|
|
3293
|
-
binary: false,
|
|
3294
|
-
readOnly: false,
|
|
3295
|
-
destructive: false,
|
|
3296
|
-
body: {
|
|
3297
|
-
required: true,
|
|
3298
|
-
contentType: "application/json",
|
|
3299
|
-
fields: [
|
|
3300
|
-
{
|
|
3301
|
-
name: "field",
|
|
3302
|
-
flag: "field",
|
|
3303
|
-
type: "json",
|
|
3304
|
-
required: true,
|
|
3305
|
-
description: "Write shape for a field. The server derives key from label.",
|
|
3306
|
-
fields: [
|
|
3307
|
-
{
|
|
3308
|
-
name: "type",
|
|
3309
|
-
flag: "type",
|
|
3310
|
-
type: "string",
|
|
3311
|
-
required: false,
|
|
3312
|
-
description: "Type of a vault field. Sensitivity is derived from the type: username, email, url, phone, text, card_expiry, and cardholder_name are readable; password, hidden, totp_seed, api_key, card_number, and card_cvv are write-only. There is no separate hidden flag.",
|
|
3313
|
-
enum: [
|
|
3314
|
-
"username",
|
|
3315
|
-
"email",
|
|
3316
|
-
"url",
|
|
3317
|
-
"phone",
|
|
3318
|
-
"text",
|
|
3319
|
-
"password",
|
|
3320
|
-
"hidden",
|
|
3321
|
-
"totp_seed",
|
|
3322
|
-
"api_key",
|
|
3323
|
-
"card_number",
|
|
3324
|
-
"card_expiry",
|
|
3325
|
-
"card_cvv",
|
|
3326
|
-
"cardholder_name"
|
|
3327
|
-
]
|
|
3328
|
-
},
|
|
3329
|
-
{
|
|
3330
|
-
name: "label",
|
|
3331
|
-
flag: "label",
|
|
3332
|
-
type: "string",
|
|
3333
|
-
required: false,
|
|
3334
|
-
description: "Human label shown in forms. The field key is UPPER_SNAKE of this label."
|
|
3335
|
-
},
|
|
3336
|
-
{
|
|
3337
|
-
name: "required",
|
|
3338
|
-
flag: "required",
|
|
3339
|
-
type: "boolean",
|
|
3340
|
-
required: false
|
|
3341
|
-
},
|
|
3342
|
-
{
|
|
3343
|
-
name: "hint",
|
|
3344
|
-
flag: "hint",
|
|
3345
|
-
type: "string",
|
|
3346
|
-
required: false,
|
|
3347
|
-
description: "Optional guidance shown next to the field, copied from catalog credentials when generating masters."
|
|
3348
|
-
}
|
|
3349
|
-
]
|
|
3350
|
-
},
|
|
3351
|
-
{
|
|
3352
|
-
name: "value",
|
|
3353
|
-
flag: "value",
|
|
3354
|
-
type: "string",
|
|
3355
|
-
required: true
|
|
3356
|
-
}
|
|
3357
|
-
],
|
|
3358
|
-
files: [],
|
|
3359
|
-
credentialOrganization: false
|
|
3360
|
-
}
|
|
3361
|
-
},
|
|
3362
3180
|
{
|
|
3363
3181
|
command: "secret field remove",
|
|
3364
3182
|
tool: "secret_field_remove",
|
|
@@ -3453,41 +3271,6 @@ var COMMANDS = [
|
|
|
3453
3271
|
readOnly: true,
|
|
3454
3272
|
destructive: false
|
|
3455
3273
|
},
|
|
3456
|
-
{
|
|
3457
|
-
command: "secret rotate",
|
|
3458
|
-
tool: "secret_rotate",
|
|
3459
|
-
title: "Rotate secret values",
|
|
3460
|
-
description: "Replace field values on a secret in one write. Supply `values` as key/value pairs. Secret values are never returned.",
|
|
3461
|
-
method: "POST",
|
|
3462
|
-
path: "/agents/v2/secrets/{secretId}/rotate",
|
|
3463
|
-
args: [
|
|
3464
|
-
{
|
|
3465
|
-
name: "secretId",
|
|
3466
|
-
flag: "secret-id",
|
|
3467
|
-
type: "string",
|
|
3468
|
-
required: true
|
|
3469
|
-
}
|
|
3470
|
-
],
|
|
3471
|
-
query: [],
|
|
3472
|
-
binary: false,
|
|
3473
|
-
readOnly: false,
|
|
3474
|
-
destructive: false,
|
|
3475
|
-
body: {
|
|
3476
|
-
required: true,
|
|
3477
|
-
contentType: "application/json",
|
|
3478
|
-
fields: [
|
|
3479
|
-
{
|
|
3480
|
-
name: "values",
|
|
3481
|
-
flag: "values",
|
|
3482
|
-
type: "json",
|
|
3483
|
-
required: true,
|
|
3484
|
-
description: "New field values as `key`/`value` pairs."
|
|
3485
|
-
}
|
|
3486
|
-
],
|
|
3487
|
-
files: [],
|
|
3488
|
-
credentialOrganization: false
|
|
3489
|
-
}
|
|
3490
|
-
},
|
|
3491
3274
|
{
|
|
3492
3275
|
command: "secret update",
|
|
3493
3276
|
tool: "secret_update",
|