Skip to content

isCredentialConfigKey

function isCredentialConfigKey(key: string): boolean;

Whether a single config key looks like a credential and must be rejected. Exposed on its own so an authoring tool can warn on the field the moment it is typed, instead of only when the whole manifest is validated.

ParameterTypeDescription
keystringThe config key to test.

boolean

True if the key matches a credential pattern.