[security-dev] Credential validation and storage