Variable credentialMintFlagsConst
credentialMintFlags: readonly [
{
description: "existing credential profile (default agent); never an internal host profile";
name: "profile";
type: "string";
value: "<agent|observer|admin>";
},
{
completion: "files";
description: "private output file; required for signer export and endpoint caller issuance";
name: "out";
type: "string";
value: "<private-file>";
},
{
description: "issue a standalone caller for the resolved endpoint's supported command surface; requires --out";
name: "endpoint";
type: "string";
value: "<class>";
},
{
description: "endpoint callers: explicit read/post channel ACL; omitted or empty grants none";
name: "channels";
type: "string";
value: "<a,b>";
},
{
description: "agent: channel read ACL; empty means no entries";
name: "allow-subscribe";
type: "string";
value: "<a,b>";
},
{
description: "agent: channel post ACL; empty means no entries";
name: "allow-publish";
type: "string";
value: "<a,b>";
},
{
description: "agent: scope its role task queue";
name: "role";
type: "string";
value: "<role>";
},
{
description: "agent: ignore the label's persona; use only explicit or --identity grants";
name: "no-persona";
type: "boolean";
},
{
description: "agent: also pre-create this new lifecycle's bind-only inbox and delivery footprint";
name: "provision";
type: "boolean";
},
{
description: "positive integer credential lifetime (fixed profiles default to 86400, 24 hours); never with --expires-at or --no-expiry";
name: "expires-in";
type: "string";
value: "<seconds>";
},
{
description: "absolute credential expiry; never with --expires-in or --no-expiry";
name: "expires-at";
type: "string";
value: "<unix-seconds>";
},
{
description: "fixed profiles: issue a credential with no expiry claim and record that choice beside its file";
name: "no-expiry";
type: "boolean";
},
{
completion: "files";
description: "reuse this file's native nkey; the actual resulting lifecycle is reported";
name: "identity";
type: "string";
value: "<private-creds>";
},
{
description: "replace the label's standing credential when it has expired or has no expiry; never with --out";
name: "replace";
type: "boolean";
},
{
description: "target space (default: the resolved mesh)";
name: "space";
short: "s";
type: "string";
value: "<s>";
},
{
description: "broker URL (overrides the mesh registry entry)";
name: "server";
type: "string";
value: "<url>";
},
{
description: "structured output on stdout";
name: "json";
short: "j";
type: "boolean";
},
{
description: "plain line-oriented output";
name: "plain";
type: "boolean";
},
] = ...