isCredentialEnvVar
isCredentialEnvVar(
name):boolean
Defined in: packages/agent/src/tools/shell/env.ts:77
True when a variable name is credential-shaped: it ends in one of the credential endings, or it is on CREDENTIAL_BLOCKLIST. Independent of the setting and of any passthrough list.
Parameters
Section titled “Parameters”string
Returns
Section titled “Returns”boolean