create

suspend fun create(options: CredentialCreationOptions = definedExternally): Credential?(source)

MDN Reference