Credential constructor
Credential({ required this.apiKeyName, required String privateKeyPEM, }) : privateKeyPEM = _formatPEM(privateKeyPEM);