SecretStorage.validateId method
SecretStorage › validateId
Unofficial
Validates a secret ID (lowercase alphanumeric with optional dashes, at most 64 characters).Signature:
validateId(id: string): booleanParameters:
| Parameter | Type | Description |
|---|---|---|
| id | string | the secret ID to validate |
Returns: boolean — whether the ID is valid