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.
Parameters
Section titled “Parameters”| Parameter | Type | Description |
|---|---|---|
key | string | The config key to test. |
Returns
Section titled “Returns”boolean
True if the key matches a credential pattern.